From e2c38cd95975ce6f7cdb9c3884aee228b49196e5 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 8 Mar 2017 15:06:56 -0600 Subject: [PATCH 1/2] 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 From 81a9a3bb5ec3bcb3fd1e69d7e061e5fc3cdd511d Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 9 Mar 2017 17:52:47 -0600 Subject: [PATCH 2/2] html/css help --- text-editor/neovim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/text-editor/neovim/init.vim b/text-editor/neovim/init.vim index 1b1797c..bd84398 100644 --- a/text-editor/neovim/init.vim +++ b/text-editor/neovim/init.vim @@ -132,6 +132,8 @@ let g:fzf_layout = { 'window': 'enew' } " plugins for specific file types +Plug 'othree/html5.vim', {'for': ['jade', 'pug', 'html', 'vue']} +Plug 'hail2u/vim-css3-syntax', {'for': ['styl', 'stylus', 'css', 'vue']} Plug 'kchmck/vim-coffee-script', {'for': ['coffee', 'coffeescript', 'vue']} Plug 'posva/vim-vue', {'for': ['vue']} Plug 'elixir-lang/vim-elixir', {'for': ['elixir']}