Skip to content

Instantly share code, notes, and snippets.

@gstark
Created June 10, 2012 15:42
Show Gist options
  • Save gstark/2906302 to your computer and use it in GitHub Desktop.
Save gstark/2906302 to your computer and use it in GitHub Desktop.
" noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
" noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment