On 11/28/06, Belinda Zeng <[EMAIL PROTECTED]> wrote:

Hi, all,
  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.
  Wondering if anyone has seen the same behavior? Is this a NEdit
problem or a VIM problem?

Apparently you did not set vim tab spacing to 3 yet(:set ts=3 in your
~/.vimrc). Alghough you apparently think that you already did :-).
Try this:
1.    add this command to your ~/.vimrc:
     :set ts=3
2. Check your setting"
     :verbose ts?
the expected value is 3. If you see 8, then you did not set ts to 3 yet.

vim has many more tab-related options. Try :options and go to section
15 tabs and indenting.

Yakov

Reply via email to