Does anyone here know why on OSX, clipboard is not supported in VIM editor? and what is the impact of compile from source to replace the existing binary?
Thanks,
Try adding set cb=unnamed to your .vimrc.
I think I've got an answer. Looking a my vim build, the clipboard module is not enabled. That's the reason why I try *p doesn't work for me.
So either I've to recompile VIM to enable clipboard support or MacVIM as alternative.
There is also another solution which is to use pbcopy/pbpaste. It's even better to map keystroke to this command line.
Dara kok
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With