From c62e67a631a87c43d27695ac21ffcb925344166f Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Sat, 16 Jun 2012 19:02:01 -0500 Subject: [PATCH] Changed name of project vimrc to .vimrc.project --- README.md | 6 +++++- vim/vimrc.symlink | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 393e42f..3fb4cd4 100644 --- a/README.md +++ b/README.md @@ -66,4 +66,8 @@ Then, if you would like to restore your previous configuration, run the restore ## ZSH Plugins -By default, the *.zshrc* file will source any file within .dotfiles that has the *".zsh"* suffix. \ No newline at end of file +By default, the *.zshrc* file will source any file within .dotfiles that has the *".zsh"* suffix. + +## Vim Per Machine and Per Project Configuration + +The vimrc in this project will check for the existence of a `~/.vimrc.local`, as well as a `./.vimrc.project` allowing per-machine and per-project vim configurations. \ No newline at end of file diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 5c229f5..41b9767 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -336,6 +336,6 @@ endif " => Local, Per Project vimrc """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" -if filereadable(".vimrc.local") +if filereadable(".vimrc.project") source ./.vimrc.local endif