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
Tweet