3 ms·
Are you on a mac and using the system default vim? If so, Apple cripples it to not be able to directly access the system clipboard -- use homebrew's vim or macv
by SEMW 12y ago
Are you on a mac and using the system default vim? If so, Apple cripples it to not be able to directly access the system clipboard -- use homebrew's vim or macvim instead.
- StavrosK 12y agoNo, I'm on Ubuntu, it just looks like this method doesn't work with terminal vim. Your sibling comment looks like it has a solution, though!
- irahul 12y agoI am not sure which version of vim you are on. I have been using clibpoard paste for a long time in Ubunut. Do a ":version" in vim and check if it's compiled with +clipboard. If it is, then it should work. Also, you can have this in your vimrc: set clipboard=unnamedplus And then your vim copy-paste will be in sync with system clipboard(no need for +p or +y).