Starting from version 6 of vim, you can put “filetype indent on” in the .vimrc file to make automatic indent when programming.
Science, Technology, and Beyond
Starting from version 6 of vim, you can put “filetype indent on” in the .vimrc file to make automatic indent when programming.