Created
February 28, 2012 00:53
-
-
Save bengl/1928235 to your computer and use it in GitHub Desktop.
auto-updating .vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ~/.vimrc | |
" | |
" Remote vimrc. Updates each time vim is started. This adds a bit of time to | |
" your vim startup, but I haven't found it to be a big deal. | |
" | |
" The bit.ly URL is the vimrc file from my dotfiles on github, raw. Replace it | |
" with your own. | |
" | |
" Why not just save it to ~/.vimrc? This way I can just update it on github | |
" and it's good to go on all my machines. | |
" Install vundle if not already done. | |
if !isdirectory(expand("$HOME/.vim/bundle/vundle")) | |
!git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
endif | |
silent !curl -s -L http://bit.ly/benglvimrc > /tmp/benglvimrc | |
source /tmp/benglvimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment