3. Uncomment "set autoindent" in your /usr/share/vim/vimrc (or in your ~/.vimrc). You can test before modifying by doing ":set autoindent".