Skip to content

Instantly share code, notes, and snippets.

@Steven-Rose
Created October 24, 2012 04:27
Show Gist options
  • Save Steven-Rose/3943830 to your computer and use it in GitHub Desktop.
Save Steven-Rose/3943830 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.
@masterbpro
Copy link

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment