In true developer fashion, I decided to spend more hours working on my tools than coding. Tonight, it’s time to upgrade Janus. Janus is a collection of vim plugins. It sets up your vim environment with a few commands.
I followed the instructions on how to upgrade Janus. I ran curl -Lo- http://bit.ly/janus-bootstrap | bash and expected everything to work. I typed mvim and got this
1 2 3 | |
True enough that file doesn’t exist. In fact, the directory /Users/crigor/.vim/janus/vim/core/pathogen/autoload doesn’t exist. After checking the source code of Janus, I found out that pathogen is a git submodule. Something is not set up correctly if the submodule doesn’t exist. Maybe it’s time to look at the output of that curl command.
Aha! I didn’t notice that there was a git error when I installed Janus.
1 2 | |
Instead of trying to find out what’s wrong with that submodule, I just deleted it with
1
| |
. Then I didn’t want to run rake on the ~/.vim because that would just clone the Janus repo again and try to install the getafe submodule. I ran
1 2 | |
After all the submodules were updated, including the pathogen submodule, I ran
1
| |
After I added a few custom settings on ~/.vimrc.before and ~/.vimrc.after, my new macvim environment is set.