Add neo-vim configuration

This commit is contained in:
Anthony Oteri
2022-02-04 08:28:07 -05:00
parent 862b793a0b
commit f9ca22de6f
42 changed files with 568 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
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