Compare commits

..

No commits in common. "dfb5750295ffcbe5bc3051405ace296414c7999a" and "c1e451b5ce3f9dbe9ede41d6bfb21430f4581087" have entirely different histories.

2 changed files with 0 additions and 4 deletions

View file

@ -16,7 +16,6 @@
Plug 'tpope/vim-repeat' Plug 'tpope/vim-repeat'
" if g:vim_ide " if g:vim_ide
Plug 'tomtom/tcomment_vim' Plug 'tomtom/tcomment_vim'
Plug 'glts/vim-textobj-comment'
" else " else
" Plug 'tpope/vim-commentary' " Plug 'tpope/vim-commentary'
" endif " endif

View file

@ -236,7 +236,6 @@ set commentstring=//%s
" Remove the mappings that I won't use " Remove the mappings that I won't use
let g:tcomment_maps = 0 let g:tcomment_maps = 0
" Closely replicate the behavior of tpope/vim-commentary
nmap <silent> gc <Plug>TComment_gc nmap <silent> gc <Plug>TComment_gc
nmap <silent> gcc <Plug>TComment_gcc nmap <silent> gcc <Plug>TComment_gcc
nmap <silent> gC <Plug>TComment_gcb nmap <silent> gC <Plug>TComment_gcb
@ -245,8 +244,6 @@ set commentstring=//%s
nmap <silent> gCC m'o<Esc>''<Plug>TComment_gcb+ nmap <silent> gCC m'o<Esc>''<Plug>TComment_gcb+
xnoremap <silent> gc :TCommentMaybeInline<CR> xnoremap <silent> gc :TCommentMaybeInline<CR>
xnoremap <silent> gC :TCommentBlock<CR> xnoremap <silent> gC :TCommentBlock<CR>
" Make an alias for the comment text object
omap <silent> gc ac
" }}} " }}}