How do I turn off the automatic indentation of text?

By default, the automatic indentation of text is not turned on. Check the configuration files (.vimrc, .gvimrc) for settings related to indentation. Make sure the “:filetype indent on” command is not present. If it is present, remove it. Also, depending on your preference, you may also want to check the value of the ‘autoindent’, ‘smartindent’, ‘cindent’ and ‘indentexpr’ options and turn them off as needed.

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind