The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?
|
|
||||
|
|
|
Probably the simplest thing for you to try is to put This lets you run On the downside, your yank buffer will be overwritten as soon as you select some text in any other window of any application. On the upside, it also means anything you yank in vim can now be pasted into any application by middle clicking. If you don't like that way, you can type The See Making GUI Selections, X11 selection support, and the clipboard and mouse options for details. |
|||||||
|
|
If you want to copy an entire file into your target file. Open your target file in vim. Put your cursor where you want it and type the following:
This will copy an entire file to where your cursor is... |
||||
|
|