rvm.vim : RVM Integration
script karma |
Rating 14/9,
Downloaded by 1126 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Christopher Sexton |
|
script type |
utility |
|
description |
Adds RVM (Ruby Version Manager http://rvm.beginrescueend.com/) integration to Vim.
Currently that is a function for adding the active Ruby to the status line.
Latest and greatest is on github, also that is the place to report issues http://github.com/csexton/rvm.vim |
|
install details |
Copy rvm.vim into your ~/.vim/plugin directory.
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 installed. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|