Tip #21 - easy pasting to windows apps : vim online - 0 views
-
In Vim, the unnamed register is the " register, and the Windows Clipboard is the * register. This means that if you yank something, you have to yank it to the * register if you want to paste it into a Windows app. If this is too much trouble, set the 'clipboard' option to 'unnamed'. Then you always yank to *. So pasting to windows apps doesn't require prefixing "* : set clipboard=unnamed
-
You can also have the Visual selection automatically copied to the clipboard. If you :set go+=a