Vim Tip: Interact with the OS/DE’s clipboard
In regular Vim or Gvim, go into visual mode (V or Ctrl-V), and highlight the text you would like to copy to your clipboard. Then, yank the text as follows, “+y. It should now be available to any application that uses your standard clipboard.
Another useful feature is being able to paste from your OS clipboard to your current Vim session. All you need to do this is a simple “+gP.







