Let’s analyze every single component of the string: If you need to transfer information from Vim to other applications you must use the key combination "+y to copy the text and "+x to cut it from the original document. There’s also another symbol for the clipboard: the asterisk ( *) that produces almost the same results of the plus symbol but in GNU/Linux OS it saves information specifically for the middle mouse button. This specific clipboard register is identified with the mathematical plus symbol ( +). Vim uses a specific register to interact with the system clipboard and, consequently, with other applications. If you press the Vim (or gVim, the graphic version of Vim) :reg command, you can notice a list of items beginning with a double quotation mark (") followed by a symbol, a letter or a number: these are the registers. Vim uses an original resource to exchange text with other applications. I wrote this article to remind me, as a non-programmer, the key combinations to be used in the Vim world to share text with other applications. Vim uses another system to exchange information with other applications.įor example, in Vim under GNU/Linux, the key combination Ctrl-v corresponds to the visual block function and does not affect the pasting text. Many think that those combinations are universal and work with any application. Cut, Copy and Paste using the computer keyboardĬut, Copy and Paste using the computer keyboardĮverybody knows how to use the keyboard combinations Ctrl-c, Ctrl-x and Ctrl-v in Windows and Linux (or Cmd-c, Cmd-x and Cmd-v in macOS) to copy, cut and paste text across applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |