Skip to content

Instantly share code, notes, and snippets.

@hernad
Created June 3, 2011 17:31
Show Gist options
  • Save hernad/1006742 to your computer and use it in GitHub Desktop.
Save hernad/1006742 to your computer and use it in GitHub Desktop.
macosx vim +ruby +python

Mac OS X vim 7.3 sa ruby+python support-om - build from source

vi 7.2 dolazi na macosx-u 10.6.7 ali bez ruby support-a

compile vim from hg

https://github.com/fesplugas/wip/wiki/Vim-with-Ruby-Support-on-Mac-OS-X

hg clone https://vim.googlecode.com/hg/ vim
./configure --enable-rubyinterp --enable-pythoninterp=yes --enable-multibyte --with-features=huge 
$ make install

instalacija je na /usr/local/

ruby support check

macan:~ hernad$ vi --version | grep ruby

+reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime 
Linking: gcc   -L.     -L/usr/local/lib -o vim       -lm -lncurses  -liconv -framework Cocoa        -lruby 

vi, vm => /usr/local

sudo mv /usr/bin/vim /usr/bin/vim72
sudo rm /usr/bin/vim 
sudo ln -s /usr/local/bin/vim /usr/local/bin/vi

Command-T vim plugin

radi vim komanda:

 :CommandT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment