Browse files

add C-c to insert comment leader

  • Loading branch information...
1 parent b7caf0e commit 391e9e1e1d3ad684a0d04119589a99efd4448a9e @jceb committed Aug 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 config/plugin_config.vim
View
3 config/plugin_config.vim
@@ -107,12 +107,13 @@ endif
vnoremap <leader>nr :NarrowRegion<CR>
" ------------------------------------------------------------
-" NERD Commenter:
+" NERDCommenter:
" no default mappings
let g:NERDCreateDefaultMappings = 0
" toggle comment
nmap <leader><space> <plug>NERDCommenterToggle
vmap <leader><space> <plug>NERDCommenterToggle
+inoremap <C-c> <C-o>:call NERDComment(0, "insert")<CR>
" ------------------------------------------------------------
" NERDTree:

0 comments on commit 391e9e1

Please sign in to comment.