Created
June 5, 2014 11:01
-
-
Save andreyshuster/a154abbda3b44dec9636 to your computer and use it in GitHub Desktop.
vim comment multiline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- go to first char of a line and use blockwise visual mode (CTRL-V) | |
- go down/up until first char of all lines I want to comment out are selected | |
- use SHIFT-I and then type my comment character (# for ruby) | |
- use ESC to insert the comment character for all lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment