Last active
March 29, 2017 18:24
-
-
Save jccorrea/12ef319e475d28b9a2baf0cddd70dc6d to your computer and use it in GitHub Desktop.
vi : add spaces for n lines
This file contains 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
I'd use :%s/^/ / | |
You could also specify a range of lines :10,15s/^/ / | |
Or a relative range :.,+5s/^/ / | |
#credits to "luser droogs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment