simple vimrc customizations. ~/.vimrc.before is loaded before everything. ~/.vimrc.after is loaded after all plugins load.

This commit is contained in:
Kyle West
2012-01-25 14:26:23 -05:00
parent 4c4938f769
commit 5c06824e03
3 changed files with 22 additions and 0 deletions

7
vimrc
View File

@@ -2,6 +2,12 @@
" This must be first, because it changes other options as a side effect.
set nocompatible
" TODO: this may not be in the correct place. It is intended to allow overriding <Leader>.
" source ~/.vimrc.before if it exists.
if filereadable(expand("~/.vimrc.before"))
source ~/.vimrc.before
endif
" =============== Pathogen Initialization ===============
" This loads all the plugins in ~/.vim/bundle
" Use tpope's pathogen plugin to manage all other plugins
@@ -90,3 +96,4 @@ set wildignore+=*vim/backups*
set scrolloff=8 "Start scrolling when we're 8 lines away from margins
set sidescrolloff=15
set sidescroll=1