Skip to content

Instantly share code, notes, and snippets.

@jccorrea
Last active March 29, 2017 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jccorrea/12ef319e475d28b9a2baf0cddd70dc6d to your computer and use it in GitHub Desktop.
Save jccorrea/12ef319e475d28b9a2baf0cddd70dc6d to your computer and use it in GitHub Desktop.
vi : add spaces for n lines
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