mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-05 23:56:52 -04:00
25 lines
622 B
VimL
25 lines
622 B
VimL
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
|
|
|
|
let g:firenvim_config = {
|
|
\ 'globalSettings': {
|
|
\ 'alt': 'all',
|
|
\ },
|
|
\ 'localSettings': {
|
|
\ '.*': {
|
|
\ 'cmdline': 'neovim',
|
|
\ 'content': 'text',
|
|
\ 'priority': 0,
|
|
\ 'selector': 'textarea',
|
|
\ 'takeover': 'never',
|
|
\ },
|
|
\ }
|
|
\ }
|
|
|
|
let fc = g:firenvim_config['localSettings']
|
|
let fc['https?://github\.com'] = { 'takeover': 'always', 'priority': 1 }
|
|
|
|
augroup FirenvimOverrides
|
|
autocmd!
|
|
autocmd BufEnter github.com_*.txt set filetype=markdown
|
|
augroup END
|