My goal is to yank a line in the shell (for example with yy) into the system clipboard and then paste it somewhere else (for example in the internet browser). How can I accomplish that?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
migrated from stackoverflow.com Nov 20 '12 at 19:54
|
The simplest way to get the end result you want (pasting code from shell to internet broswer) is to:
|
|||||
|
|
Your vim need have *+xterm_clipboard* flag, you can check this with For access to the system clipboard you have to type those sequences:
See: http://vim.wikia.com/wiki/Accessing_the_system_clipboard |
|||||
|