diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-18 22:46:35 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-20 03:50:24 -0400 |
commit | b16a84fae31e750cdb93df20f4884f31ee436058 (patch) | |
tree | 4ccad94c7f04f28227bf7b008fbbc81efd33c614 | |
parent | b66e683903ed0f894454b0ba1a1c7ec64e1ebb5c (diff) | |
download | conf-b16a84fae31e750cdb93df20f4884f31ee436058.tar.gz conf-b16a84fae31e750cdb93df20f4884f31ee436058.zip |
switch from tcomment to commentary
-rw-r--r-- | .gitmodules | 6 | ||||
m--------- | vim/pack/local/start/commentary | 0 | ||||
m--------- | vim/pack/local/start/tcomment | 0 | ||||
-rw-r--r-- | vimrc | 8 |
4 files changed, 6 insertions, 8 deletions
diff --git a/.gitmodules b/.gitmodules index 2f22925..5325929 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,9 +22,6 @@ [submodule "vim/bundle/supertab"] path = vim/bundle/supertab url = git://github.com/ervandew/supertab -[submodule "vim/bundle/tcomment"] - path = vim/pack/local/start/tcomment - url = git://github.com/tomtom/tcomment_vim [submodule "vim/bundle/textobj"] path = vim/pack/local/start/textobj url = git://github.com/doy/vim-textobj @@ -100,3 +97,6 @@ [submodule "vim/pack/local/start/terraform"] path = vim/pack/local/start/terraform url = git://github.com/hashivim/vim-terraform +[submodule "vim/pack/local/start/commentary"] + path = vim/pack/local/start/commentary + url = git://github.com/tpope/vim-commentary diff --git a/vim/pack/local/start/commentary b/vim/pack/local/start/commentary new file mode 160000 +Subproject 89f43af18692d22ed999c3097e449f12fdd8b29 diff --git a/vim/pack/local/start/tcomment b/vim/pack/local/start/tcomment deleted file mode 160000 -Subproject d92ed63c21f590a3569cc537ec627981968f445 @@ -667,6 +667,9 @@ let g:bufferline_echo = 0 let g:bufferline_rotate = 1 let g:bufferline_fixed_index = -2 " }}} +" commentary {{{ +map <silent><Leader>x :Commentary<CR> +" }}} " denite {{{ autocmd VimEnter * call denite#custom#map('insert', '<Tab>', '<denite:move_to_next_line>') autocmd VimEnter * call denite#custom#map('insert', '<S-Tab>', '<denite:move_to_previous_line>') @@ -768,11 +771,6 @@ for file in [ '.gitignore', expand('~/.gitignore') ] endif endfor " }}} -" tcomment {{{ -nmap ;x gcc -xmap ;x gc -let g:tcommentBlankLines = 0 -" }}} " terraform {{{ let g:terraform_fmt_on_save = 1 " }}} |