Commit 55b6cb9

mo khan <mo@mokhan.ca>
2021-08-18 21:06:43
feat: install vim-commentary
1 parent 9aca792
Changed files (3)
vim/pack/plugins/start/commentary
@@ -0,0 +1,1 @@
+Subproject commit 349340debb34f6302931f0eb7139b2c11dfdf427
.gitmodules
@@ -13,3 +13,6 @@
 [submodule "vim/pack/plugins/start/fugitive"]
   path = vim/pack/plugins/start/fugitive
   url = https://github.com/tpope/vim-fugitive.git
+[submodule "vim/pack/plugins/start/commentary"]
+  path = vim/pack/plugins/start/commentary
+  url = https://github.com/tpope/vim-commentary.git
vimrc
@@ -129,6 +129,9 @@ nnoremap <localleader>F :Ag<space>
 vnoremap <space> zf
 vnoremap <tab> %
 
+nmap <localleader>/ <Plug>CommentaryLine
+xmap <localleader>/ <Plug>Commentary
+
 nmap <leader><tab> <plug>(fzf-maps-n)
 omap <leader><tab> <plug>(fzf-maps-o)
 xmap <leader><tab> <plug>(fzf-maps-x)