Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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 +

share|improve this answer
    
Dang, can't believe I missed that. Thanks. – Praxeolitic Aug 19 '13 at 5:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .