]> code.delx.au - dotfiles/commitdiff
vim: switch commenter to CTRL-/
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 21 Apr 2013 03:18:26 +0000 (13:18 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 21 Apr 2013 03:19:37 +0000 (13:19 +1000)
.vim/commenter.vim

index a4e8177969ff3b9947b2b6b3c931322beea7a60e..5e63cf4e866288c91188d96b0845248df530bce1 100644 (file)
@@ -1,6 +1,6 @@
 " Commenting of lines! Stolen & modified from vim.org's ToggleCommentify
-map <C-c> :call ToggleCommentify()<CR>j
-imap <C-c> <ESC>:call ToggleCommentify()<CR>j
+map <C-_> :call ToggleCommentify()<CR>j
+imap <C-_> <ESC>:call ToggleCommentify()<CR>j
 " The nice thing about these mapping is that you don't have to select a visual
 " block to comment ... just keep the CTRL-key pressed down and tap on 'c' as
 " often as you need.