Reputation: 21690
When using the VSCode Neovim extension I would like the default clipboard to sync directly to X, similar to "+y
(as mentioned by How can I get vim yank to clipboard ("*y) working?)
How can I configure Neovim to do it here?
Upvotes: 1
Views: 2624
Reputation: 5414
You can use this mapping to automatically copy visually selected text to the system clipboard by pressing y
Add this to your .vimrc
vnoremap y "+y
Upvotes: 1