Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Vim awesomeness

Copy current filename to clipboard

:let @+ = expand("%")

Paste last yank


The registry 0 always keep the last yanked text.

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