This issue has already been answered, but I though I could also add my own solution:
If you simply want to disable auto-indent system wise, for every file type (basically, disable the auto-indent feature completely), you can do the following:
- Backup the
indent.vim
file:sudo mv /usr/share/vim/vim81/indent.vim /usr/share/vim/vim81/indent.vim.orig
- Create a new empty
indent.vim
file:sudo touch /usr/share/vim/vim81/indent.vim