I hadn't seen a response fly by to this question, so I'll take a
stab...
I am using both NEdit and VIM, and set the tab spacing for both
editors to 3. However, if I edit a file using NEdit, which looks fine
under NEdit, then open with GVIM, I am seeing all tabs become 8
characters.
I suspect that your vim settings aren't being set correctly (or
are getting set correctly, but then overridden by a plugin).
When you have the problematic file up in vim, do
:set ts?
to see what Vim thinks your tabstops are currently set to. My
guess is that it replies "8" rather than "3". If you've manually
specified
set ts=3
in your vimrc, then likely some plugin is overriding your
settings (and should be smacked for it). You can use the
":verbose" and ":scriptnames" commands to try and trace down
where it was last set. If it's after where you set it in your
vimrc, then you've found the culprit.
You can also try
:set list!
to toggle the "display special characters" to ensure that they
*really are* tabs, rather than being expanded to spaces by nedit.
(just issue the ":set list!" again to toggle it back off again).
You can toggle tab-expansion via the
:set expandtab
option (":help 'expandtab'")
Just a few ideas,
-tim