Skip to content

Instantly share code, notes, and snippets.

@roshanca
Forked from Steven-Rose/gist:3943830
Created November 19, 2015 05:10
Show Gist options
  • Save roshanca/17a43778c7e03ef33959 to your computer and use it in GitHub Desktop.
Save roshanca/17a43778c7e03ef33959 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