A very long time ago I did something that would allow
vim to switch to the directory of a file that I load and
save it somehow in a view. What is happening now is
that Vim sets is current directory as soon as a file
is loaded to something somewhere in the project ...
but I do not know why.

In my opinion, I did everything to undo this, but even if I
delete all *.sw[po] files and all view files in ./vim/view. Is
there a way to trace the Vim commands and find out
what is happening behind the scenes?

I had this going on now for a very long time, and I was
wondering if there's someone out there who could help
me getting rid of those ghosts.

Best Regards

Frank

Here's my .vimrc
____________________________________________________________________
" load/save view information for every file (folds, etc.)
autocmd BufWinLeave * mkview
autocmd BufWinEnter * silent loadview
autocmd BufReadPost * silent loadview

set guifont=Monospace\ 10
set guioptions-=T              " disable toolbar

set backspace=indent,eol,start
syntax enable
filetype plugin indent on

highlight Comment ctermfg=darkgreen
highlight Folded  ctermfg=grey ctermbg=blue

set hlsearch
set modelines=1

set tabstop=4
set shiftwidth=4
set expandtab

set cindent shiftwidth=4
set cinoptions+=g0     "zero indent for 'private, public, protected'
set cinoptions+=(0     "indent after open '(' right underneath
set cinoptions+=:0     "zero indent for case switches

set tags=tags;/

colorscheme desert

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to