Hacker News new | past | comments | ask | show | jobs | submit login

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).




Rather 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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: