vim-copy-paste
Copying from vim to system clipboard is very useful. It can be tricky though. I only started using it recently.
Some useful links when it stops working:
- https://stackoverflow.com/questions/11489428/how-to-make-vim-paste-from-and-copy-to-systems-clipboard
- https://vi.stackexchange.com/questions/84/how-can-i-copy-text-to-the-system-clipboard-from-vim
- https://github.com/neovim/neovim/wiki/FAQ#how-to-use-the-windows-clipboard-from-wsl
On windows WSL:
win32yank needs to be added to $PATH
. Here’s a
guide to do that.