4 ms·
Same here. cd hg clone http://bitbucket.org/sjl/dotfiles .dotfiles ln -s `pwd`/.dotfiles/vim/.vimrc ~/.vimrc cd - My full Vim config is now in
by stevelosh 15y ago
Same here.
cd
hg clone http://bitbucket.org/sjl/dotfiles .dotfiles
ln -s `pwd`/.dotfiles/vim/.vimrc ~/.vimrc
cd -
My full Vim config is now installed, plugins included thanks to Mercurial's subrepos.
But really, I don't find myself editing files directly on servers all that often. And when I do I usually prefer bcvi anyway, because I can use MacVim instead of Vim through a terminal (which I hate because of all the shadowed keys).
- ansible 15y agoRather than type in the symbolic link commands, I just have a config script that I run (also checked into version control) that will move the old .vim directory, .bashrc, and other files out of the way, and install links to the version controlled file instead. Easy.
- tuxcanfly 15y agoI use this ruby script: https://github.com/technicalpickles/homesick https://github.com/technicalpickles/homesick