by devnonymous · 12y ago · 0 comments
However, I don't see why I should replace this ...
$ mv ~/.vimrc{,~}
$ mv ~/.vim{,~}
$ git clone --recursive git@github.com:lonetwin/lonetvim.git ~/.vim
$ ln -sf ~/.vim/dot_vimrc ~/.vimrc
# -- work --
^profiles^ could just as well be branches ...although, I don't think I have use
for them. # log into production server
$ vimswitch priomsrb/vimrc
# -- work --
$ vimswitch default
$ logout
This puts vim back into it's original state for the next person who logs in.In future versions I hope to make the above workflow even simpler:
# log in to production server
$ vimswitch --launch priomsrb/vimrc
# log out
The --launch command will launch vim with your settings without altering the home directory.