Skip to content

Instantly share code, notes, and snippets.

@tyrcho
Created October 28, 2015 13:51
Show Gist options
  • Save tyrcho/622b7d6e6c93a6cab964 to your computer and use it in GitHub Desktop.
Save tyrcho/622b7d6e6c93a6cab964 to your computer and use it in GitHub Desktop.
vim / gvim init script vimrc
noremap <silent> <F4> :let @* = expand("%:p")<CR>
http://stackoverflow.com/questions/916875/yank-file-name-path-of-current-buffer-in-vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment