Skip to content

Instantly share code, notes, and snippets.

@frankfenghua
Forked from Steven-Rose/gist:3943830
Created March 23, 2016 15:27
Show Gist options
  • Save frankfenghua/c4d8de92c1ee7b0d4b7a to your computer and use it in GitHub Desktop.
Save frankfenghua/c4d8de92c1ee7b0d4b7a 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