Let's take a look at the clipboard flags:
vim --version | grep clip
+clipboard +keymap +printer +vertsplit
+eval -mouse_jsbterm -sun_workshop -xterm_clipboard
Looks ok to me .. Highlighting some text in vim
does turn on Visual
mode. But then hitting CommandC results in an annoyed "beep" and nothing more than that.
So I added the following to the default .vimrc
set clipboard=unnamed
Still no dice. What needs to be done?
Update. +y
does work.. but I've seen CommandC work on other mac laptops i've owned. The last one right here (that does work) did not have anything special done afaict: there's not even any ~/.vimrc
file.