One of the advantages of the Vim text editor is that it supports multiple clipboards or, in Vim terminology, registers. This allows the user to store and retrieve multiple pieces of information, but only one register represents the system clipboard. It is not the default register, but the "asterisk" register.
Press the "Escape" key to enter command mode.
Press the double-quote character (") to enable pasting from a buffer or register.
Press the asterisk key (*) to select the system clipboard as the buffer from which to paste.
Press "p" to paste the text from the clipboard.
Tips & Warnings
- An alternative that works in some versions of VIM, but not all, is pressing "Shift-Insert" while in Insert mode.
- Just as you can press "*p" to paste from the system clipboard, you can use "*y" to yank, or copy, to the system clipboard.
How to Copy and Paste Tables From Excel into Microsoft Word 2003
The tasks that are presented to workers in an office setting have been made far easier by the many different and intuitive...
How to Configure Vim
Vim is an enhanced version of the Vi text editor. Like Vi, It is accessed from the command line and can be...