I'd like to access the system clipboard in Mountain Lion as a register in vim.
The vim that comes with Mountain Lion is built with -xterm_clipboard shown in vim --version. Homebrew has a formula for vim in the dupes collection that also builds with -xterm_clipboard. After editing the formula I'm now building vim with +xterm_clipboard. However, going into vim and using :reg to see the registers doesn't show the contents of the system clipboard in any register.
How can I get this to work?
You don't want vim compiled with xterm-cliboard support. You want vim to be compiled with clipboard support.
After you get clipboard support compiled in you should see the system clipboard in *
and +
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다