|
|
|
|
|
by priomsrb
4253 days ago
|
|
OP here. VimSwitch does something similar to what your script does. It just makes it a bit more convenient. Here is a use case that I plan to use it for: # 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. |
|