In .vimrc there is a line
set expandtab, but sometimes this doesn't work. The problem is When I press
tab key a new tab is inserted and it is not expanded to space. I can see the 'tab' is there with
:scriptnames listing shows .vimrc has been loaded, but the problem is still there sometimes. and I have to run
set expandtab by hand each time.
And there are other similar issues it seems the
.vimrc is actually not loaded. Any idea what is problem?
verb set expandtab? or other similar commands all return
Last set from ~/.vimrc.
The log is pasted here. It includes my .vimrc,
grep -rI result and the trace of
The expandtab issue doesn't happen all the time, I'll update this post whenever it happens next time. The other issue always happening is
set autoindent not working.
verb set autoindent shows it is not set, see the trace around the last lines. But actually it is set already in
.vimrc, and I have to set it by hand each time. Which is similar to