LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make vi stop indenting (https://www.linuxquestions.org/questions/linux-newbie-8/make-vi-stop-indenting-167074/)

tumana 04-06-2004 07:49 PM

Make vi stop indenting
 
I can't stand the machine detemining when my code should be indented or not. While using vi, for simple html for example, it'll indent certain lines based on what tag you are using.

You start with <html> and hit enter. It'll indent the next line.

Is there someway to edit the vi editor so that it defaults to no indent everytime I open vi?

Thanks,
ian

mikshaw 04-06-2004 09:12 PM

I'm not sure about Vi, but vimrc has: 'filetype plugin indent on' and '(un)set autoindent' relating to this.
I'm sure Vi probably has similar settings you can change in its rc file.


All times are GMT -5. The time now is 11:23 PM.