Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:vim:vimrc [2010/12/16 13:42] – billh | docs:vim:vimrc [2011/12/16 10:24] (current) – [my .vimrc] fixed bug where browse listing was lost and a file was sometimes showing in place on that tab billh | ||
---|---|---|---|
Line 307: | Line 307: | ||
" always change current (local) directory to directory of current buffer | " always change current (local) directory to directory of current buffer | ||
" http:// | " http:// | ||
- | if exists(' | + | autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ / |
- | set autochdir | + | |
- | else | + | |
- | | + | |
- | endif | + | |
" make diff colors more like winmerge | " make diff colors more like winmerge |