postmodern / chruby

Changes the current Ruby
MIT License
2.85k stars 190 forks source link

Consider mentioning mikepjb/vim-chruby on the vim wiki page #392

Open k3rni opened 6 years ago

k3rni commented 6 years ago

https://github.com/mikepjb/vim-chruby is a de-facto rewrite of chruby in plain vim. It solves the problems people have (well, that I had) with chruby in vim: without it, the only way to make it work is to launch vim or nvim from a shell with chruby already loaded and paths set. Changing rubies while in vim does not work.

Vim-chruby adds a :Chruby command, mimicking the shell function to choose, and an auto mode.