I don't use RHAT but here's a shot in the dark: have a look at /usr/share/vim/vimrc (usually symlinked to /etc/vim/vimrc) or else your ~/.vimrc and see if there's stuff like this: set autoindent set smartindent set cindent