mlsamuelson.com

Comments in Vim

Prerequisite: install the comments plugin available at http://www.vim.org/scripts/script.php?script_id=1528

CTRL+c

comment a single line or multiple selected lines* of code

CTRL+x

uncomment a single line or multiple selected lines* of code

* Select multiple lines by entering visual line mode with V and then using j or k to make the selection.

Find Me Around

User login