Skip to content

Instantly share code, notes, and snippets.

@bengl
Created February 28, 2012 00:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bengl/1928235 to your computer and use it in GitHub Desktop.
Save bengl/1928235 to your computer and use it in GitHub Desktop.
auto-updating .vimrc
" ~/.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