Added 'gcp' alias to comment current paragraph

Follows tComment's 'gcc' alias for comment current line.
This commit is contained in:
yan 2011-12-06 00:33:11 -08:00
parent 2f77a18b22
commit 0b7179f6a4

7
vimrc
View File

@ -381,6 +381,13 @@ nnoremap yw yaw
imap <silent> <D-k> _ imap <silent> <D-k> _
imap <silent> <D-K> - imap <silent> <D-K> -
" extensions for tComment plugin. Normally
" tComment maps 'gcc' to comment current line
" this adds 'gcp' comment current paragraph (block)
" using tComment's built in <c-_>p mapping
nmap <silent> gcp <c-_>p
" This remaps easymotion to show us only the left " This remaps easymotion to show us only the left
" hand home row keys as navigation options which " hand home row keys as navigation options which
" may mean more typing to get to a particular spot " may mean more typing to get to a particular spot