MarcWeber/vim-addon-local-vimrc — pull request #5 by tarruda (2012-09-18 15:55:15+00:00)
Title: Improved support for gvim/sessionman

Added LVRCwdCache function and BufNewFile/BufRead autocommand for it.

This modification lets the user to switch projects by changing directory and opening a file, which is good for gvim/sessionman users since normally they wont start vim in the project working directory.

The new autocommand is only set if the 'autochdir' option isnt set.