Spacerobots:

  • Archive
  • RSS
  • Ask me anything

How to get Mac Vim clipboard copy and paste (Snow Leopard) in the terminal

I’ve been spending more time lately in iterm2 exclusively. The recent split-screen feature is great for me. Running vim in the terminal, I finally accepted this morning how annoying it was that the system clipboard wasn’t integrated.

A quick google and recompile with xterm_clipboard support did the trick.

Here’s the configure command:

 ./configure --with-features=huge \
                    --enable-cscope \
                    --enable-pythoninterp \
                    --enable-rubyinterp \ 
                    --enable-perlinterp \
                    --enable-gui=macvim \
                    --with-mac-arch=intel \
                    --enable-multibyte \
                    --enable-clipboard=yes \
                    --enable-xterm_clipboard=yes


If you are like me you prefer a single line for copy and pasting so here’s the same command in a margin defying format:

 ./configure --with-features=huge --enable-cscope --enable-pythoninterp --enable-rubyinterp --enable-perlinterp --enable-gui=macvim --with-mac-arch=intel --enable-multibyte --enable-clipboard=yes --enable-xterm_clipboard=yes
    • #vim
    • #mac
  • 1 year ago
  • 2
  • Permalink
  • Share
    Tweet

2 Notes/ Hide

  1. kizmeta posted this
← Previous • Next →

About






A place for me (Matt Petty aka lodestone) to stream and splay stuff. I'm an entrepreneur and ruby developer with a love of life, great fiction (mostly the science or fantasy variety), and drink.


Follow/Stalk me:
  • Forrst
  • Twitter
  • Facebook
  • Working w/ Rails

Also, I like words

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr