Pasting the content of a vim register into the command line
I sometimes need to execute an external command from within Vim, using some text I've copied (yanked).
To paste the content of the default register, I use Ctrl-R + ".
So, for example:
:!bower install [Ctrl-R + "]
Will run 'bower install', with a url pasted in at the end.
Written by Uri Sharf
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#