From e2c38cd95975ce6f7cdb9c3884aee228b49196e5 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 8 Mar 2017 15:06:56 -0600 Subject: [PATCH] vim stuff, ignore weechat crud --- misc/weechat/.gitignore | 2 ++ text-editor/neovim/init.vim | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 misc/weechat/.gitignore diff --git a/misc/weechat/.gitignore b/misc/weechat/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/misc/weechat/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/text-editor/neovim/init.vim b/text-editor/neovim/init.vim index 211a333..a2901dc 100644 --- a/text-editor/neovim/init.vim +++ b/text-editor/neovim/init.vim @@ -516,8 +516,9 @@ map :setlocal spell! noremap o :!xdg-open " insert newline +" doesn't work in terminals? noremap i -noremap i +" noremap i " keep that dumb window from popping up (wild something or another) map q: :q @@ -539,3 +540,9 @@ xnoremap > >gv hi Search cterm=NONE ctermbg=blue ctermfg=black highlight LineNr ctermbg=none ctermfg=8 highlight CursorLineNr ctermbg=18 ctermfg=gray + +fun! VueModifiedFT() + set ft=vue +endfunction +:command! VueModifiedFT call VueModifiedFT() +autocmd BufRead,BufNewFile *.vue VueModifiedFT