30.3.11

Simple Code Comment and Uncomment in Vim

to comment: CTRL-V then I then # then ESC
to uncomment: CTRL-V then d

From here and the comments:
http://hurley.wordpress.com/2007/06/13/vim-tip-comment-out-multiple-lines/

UPDATE: Yeah, the last version of the comment did not work because I left of the ESC at the end.

No comments: