the permanent TODO

March 1, 2010

commenting a code block with Vim

Filed under: Uncategorized — {Francisco,François} Varas @ 9:30 am

Note: I use the set number option by default.
To comment a block with the character “#” from line 9 to line 13

Use:
:9,13s/^/#/g

and so on…

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress