Can I manage vim versions with everyenv?
bruno- opened this issue · comments
Hey,
can I use everyenv
to manage vim versions on my system?
For example, on OSX there's a system vim in /usr/bin/vim
. I also wanna install latest stable release via brew and the latest version from HEAD
.
Now I'd like to be able to see which versions I have installed and easily switch from one to another for the purpose of playing and debugging. Having a .ruby-version
file equivalent is not important at all.
Would this be possible? And how?
Thanks a lot!
Good question! You should be able to manage multiple versions of anything with this project, including vim. Here's how I would try it:
PROGRAM_NAME=vimenv PROGRAM_EXECUTABLE=vim make
- Move
vimenv
into PATH - Follow the instruction in
vimenv init
to add the initialization line to your shell profile - Install or symlink vim versions into
~/.vimenv/versions/*
- Open another shell window
- MAGIC! 🎉
vimenv versions
should show available versions. Switch between them withvimenv global <version>
. Or, usevimenv shell <version>
to change the version temporarily only in the currently active shell instance.
Thanks Mislav, I'll give it a try.