comment.vim : Comment and uncomment selected blocks of code.
| script karma |
Rating 14/8,
Downloaded by 1172 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Mike S |
| |
| script type |
| utility |
| |
| description |
This script contains two simple functions to comment and uncomment visually selected blocks of C and C++ code using "#ifdef 0...#endif". If'd out sections are commented with the author's name and a timestamp.
The default mappings are .c to comment and .C to uncomment.
e.x.
#if 0 /* author Tue Mar 25 19:08:09 EST 2003 */
...
#endif /* author Tue Mar 25 19:08:09 EST 2003 */
|
| |
| install details |
Copy comment.vim to your plugin directory or source it in your .vimrc.
Set the variable g:Author if you would like the author's name to appear in the commented out block. |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.130
|