GardiZ Blog
Monday, April 16, 2007
Useful and powerful replace commands in vim
:.,X s/^/\/\/ comment them
:.,X s/^\/\// uncomment them
This does exactly the same thing but looks cleaner.
:.,X s_^_// comment them
:.,X s_^//_ uncomment them
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment