Skip to content

Instantly share code, notes, and snippets.

@victordit
Forked from Steven-Rose/gist:3943830
Created November 17, 2017 18:25
Show Gist options
  • Save victordit/3e41c634721874574134ce050f37d40f to your computer and use it in GitHub Desktop.
Save victordit/3e41c634721874574134ce050f37d40f 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