summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-18 22:46:35 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-20 03:50:24 -0400
commitb16a84fae31e750cdb93df20f4884f31ee436058 (patch)
tree4ccad94c7f04f28227bf7b008fbbc81efd33c614
parentb66e683903ed0f894454b0ba1a1c7ec64e1ebb5c (diff)
downloadconf-b16a84fae31e750cdb93df20f4884f31ee436058.tar.gz
conf-b16a84fae31e750cdb93df20f4884f31ee436058.zip
switch from tcomment to commentary
-rw-r--r--.gitmodules6
m---------vim/pack/local/start/commentary0
m---------vim/pack/local/start/tcomment0
-rw-r--r--vimrc8
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
diff --git a/vimrc b/vimrc
index d2644bf..00d4477 100644
--- a/vimrc
+++ b/vimrc
@@ -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
" }}}