Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
VimL
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
plugin
README.markdown

README.markdown

rvm.vim

Combining the vim text editor the ruby version manager for good of mandkind.

Installing

Copy rvm.vim into your ~/.vim/plugin directory:

curl http://github.com/csexton/rvm.vim/raw/master/plugin/rvm.vim > ~/.vim/plugin/rvm.vim

Status line

To add the active rvm ruby to the status line:

set statusline+=%{rvm#statusline()}

Or you could get fancy and do something like this:

set statusline=[%n]\ %<%.99f\ %h%w%m%r%y%{exists('g:loaded_rvm')?rvm#statusline():''}%=%-16(\ %l,%c-%v\ %)%P

Having the exists check will degrade gracefully if you move your .vimrc around to computers that may not have the rvm.vim plugin intalled.

Something went wrong with that request. Please try again.