Today I Learned

hashrocket A Hashrocket project

Comment with Commentary

Commenting out a range of code is easy with the plugin commentary.vim.

Simply highlight the range of code in visual mode and type gc.

Undo the action with u, or by repeating the same gc command on your range.

h/t Josh Branchaud

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.