On 9/5/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:

I have this in my .vimrc:

au BufRead,BufNewFile * let x=expand('%:p:h')."/.lvimrc" | if
filereadable(x) | exe "source ".x | endif
let x=expand('%:p:h')."/.lvimrc" | if filereadable(x) | exe "source ".x | endif

Then I put directory-specififc settings into file .lvimrc in that directory.

Yakov

This should be added to the Vim tips if it's not there already. Great one.

Marius

Reply via email to