You are not logged in.
I'm coding in Python and VIM is auto-tabbing each new line. It's a real buzz kill.
When I hit enter at the left margine, even when there is nothing on the line above the cursor, it shoots out a tab and three spaces. I've switched to nano but feel lost without VIM. I've never seen this behavior before. I've turned off all of the auto indentation options I can think of.
***** begin .vimrc *****
set noautoindent
set nosmartindent
set noindentexpr
set nocindent
***** end .vimrc *****
Thanks!
[UPDATE]
I wish I could delete this post. ... anyway... the solution was:
set indentexpr=''
Last edited by TomB17 (2009-09-03 16:41:07)
Offline
Unfortunately, I have to do a ":set indexexpr='' " each time I start VIM. I've got it in the .vimrc but it seems to be ignored.
I'm used to Ubuntu and this feels really weird. It's like profiles aren't processed.
I would appreciate it if somoeone would point me in the correct direction.
Last edited by TomB17 (2009-09-03 21:03:20)
Offline
I might be incorrect about this, but I think there's issues with /etc/vimrc conflicting with ~/.vimrc
You might want to try moving /etc/vimrc to /etc/vimrc.bak, or something similar.
Offline
Are you using ~/.virc or ~/.vimrc? My system doesn't respect .vimrc, but it does load data from .virc.
-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers
Offline