-
-
Notifications
You must be signed in to change notification settings - Fork 2k
ruby
Junegunn Choi edited this page Mar 14, 2015
·
8 revisions
Mavericks already ships with Ruby-enabled Vim. 😃
If you wish to install a newer version (recommended), check out RVM and Homebrew.
# Assuming that you already installed RVM and Homebrew
rvm install ruby
rvm use ruby
brew install vim
sudo apt-get install vim-nox
sudo pacman -S gvim
You can build the recent version of Vim from source.
# Install prerequisites
sudo yum install -y ruby ruby-devel ncurses-devel
# Clone Vim repository
hg clone https://code.google.com/p/vim/
# Compile with Ruby interpreter and install
cd vim
./configure --with-features=huge --enable-rubyinterp
make -j $(nprocs)
sudo make install
pacman -S ruby vim
Check out the relevant section from of my article, Installing Vim with Ruby support. It's a little outdated, but you'll get the idea.
However, parallel installer on Windows GVim is not stable and thus disabled by default. You can enable it by setting g:plug_threads
in your .vimrc.
if has('win32') || has('win64')
let g:plug_threads = 8
endif