Sunday, August 12, 2012

Using VIM: Multiline comments.

Hi,

If you use VIM for code editing and finding it difficult to comment multiple line at a time then here is the simple process to do so:
1. Enter Visual mode(Block mode) using ctrl+v, select the lines which you want to comment.
2. Then do, I#<Esc>

No comments:

Post a Comment