Skip to content

Instantly share code, notes, and snippets.

@msankhala
Forked from Steven-Rose/gist:3943830
Created October 22, 2015 06:55
Show Gist options
  • Save msankhala/a5a592eacf92b5344299 to your computer and use it in GitHub Desktop.
Save msankhala/a5a592eacf92b5344299 to your computer and use it in GitHub Desktop.
VI: Select all + delete, select all + copy
Select all and delete (actually move to buffer)
:%d
Select all and copy to buffer
:%y
Use p to paste the buffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment