copy highlighted text in vim to paste to another program code example
Example: copy from vim to clipboard
Use "+ to copy to the system clipboard
i.e. "+y instead of y
Likewise you can paste from "+ to get text from the system clipboard
i.e. "+p instead of p