More and more often I find that Vim comes with auto indention enabled. I don’t want that.
Perhaps the best way to fix this annoyance is to add the following to your .vimrc file.
" Switch off all auto-indenting set nocindent set nosmartindent set noautoindent set indentexpr= filetype indent off filetype plugin indent off
I found these exact lines here.
0 Comments.