Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 45: Line 45:
 
All set, now whenever you are editing a file of those you have defined in your filetype.vim script, you can just go into Visual mode, highlight what you want to comment out, and type "co". Simple.
 
All set, now whenever you are editing a file of those you have defined in your filetype.vim script, you can just go into Visual mode, highlight what you want to comment out, and type "co". Simple.
   
βˆ’
==Related plugins==
+
==See also==
 
*EnhancedCommentify: {{script|id=23}}
 
*EnhancedCommentify: {{script|id=23}}
βˆ’
*The NERD Commenter: {{script|id=1218}}
 
 
*tComment: {{script|id=1173}}
 
*tComment: {{script|id=1173}}
 
*ToggleCommentify: {{script|id=4}}
 
*ToggleCommentify: {{script|id=4}}
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)