Created
October 23, 2008 04:27
-
-
Save therubymug/18916 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Simple Ctrl-c mapping for # commenting in vim | |
" # comments # Brought to you by the_mug | |
:nmap <C-c> <ESC>^I#<ESC> | |
:imap <C-c> <ESC>^I# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment