vimswitch
vimswitch copied to clipboard
How use it everywhere?
I need to download it to all servers when i log in to it?
But i can use oneliner like wget https://raw.githubusercontent.com/priomsrb/vimrc/master/.vimrc
If i need backup old config, i can append my oneliner to mv .vimrc .vimrc_orig; wget https://raw.githubusercontent.com/priomsrb/vimrc/master/.vimrc; vim file ; cp .vimrc_orig .vimrc
Why i need to use vimswitch? I see it like a magic like ssh-agent, who can work on other machine by ssh transparent to user, without any hand manipulation and copying configs or keys to remote host.
Hey @itJunky,
Yup you do need to download it to your server when you log in. I tried to make it a short URL to make that easier (https://bit.ly/vimswitch).
Yes you can use a one liner for your purposes. VimSwitch provides additional benefits such as:
- Backs up the existing .vim folder and downloads your one. This means plugins, etc will be present.
- Makes it easy to switch between multiple profiles. E.g. if you have different people who use the same user on the remote machine.
- In the future, I want to add functionality such as pushing your local config changes back to github.
- Less typing ;)