Yakov,
I know how to do this, but the only example I have of it is at work and
I won't be there until tomorrow.
It involves putting something like this at the top or bottom of the file:
/*
* vim set tabstop 4:shiftwidth 3:autoindent */
Anything you can specify using set in ex will get processed in place of
what you have in your .vimrc/_vimrc file. I will give you exact details
tomorrow because I'm certain this syntax isn't spot on as I've done it
here. Since I entab all files at 3 at home, and only mix 3 and 4 at
work, I realize I don't have an example to look at. I think there is
help for this in Vim, but I don't remember the topic and I also found
something peculiar about the number of lines for this thing.
Tomorrow,
Russ
Yakov Lerner wrote:
Some of the files I use are 8-tabbed, some are 4-tabbed.
These files are readonly, so modelines are not an option.
(I am talking about \t tabs, not about vim7 tabpages).
Viminfo remembers last position in the file. When I
reopen file, vim remembers last position.
Is there any way to tell vim to remember the last tabstop-related
options per file in the viminfo ?
Thanks
Yakov