03-22-05 10:49 PM
znndrp wrote:
> Hi all,
>
> I use gvim on windows and i'm trying to write something like this:
>
> -------8<-------------------
> <html>
> <head>
> ------------>8--------------
>
> but everytime i press [ENTER] after '<html>' vim goes to the next line
> and indents 2 tabs. I don't want vim to do that I've tried setting
> noautoindent
> nosmartindent
> nocindent
> nopreserveindent
> nocopyindent
>
> but it keeps indenting can somebody help me with this?
>
> thnx,
>
The brute-force method of avoiding automatic indenting is to go into
your Vim directory and find the Indent directory. File the file that
corresponds to the file you're working on (in this case, html.vim) and
delete or rename it. This way, Vim doesn't know how to indent your html
files.
The downside is, of course, that you can't change your mind without
undoing what you just did.
David
Stardate 5223.0
[ Post a follow-up to this message ]
|