I use vim to edit a lot of latex files using vim 7.4. Some trick of the syntax indenting annoys me and interferes with my intentions. Particularly, the automatic indentation during the addition of a line. I tried to remove this by

:set noautoindent

but it produces no effect. Which of the many options is working against my desires?

  • Please consider accepting the answer if it solved your problem :)
    – nobe4
    Feb 27 '17 at 16:42

After examining similar questions, I've found the solution is to :set nosmartindent.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.