On Thu, 24 Aug 2006 11:32:55 +0200, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Kim Schulz wrote:
> That is filetype-dependent indent, since how to indent will be
> determined by the syntax of the language of the file being edited:
>       :filetype indent on
> or (usually better)
>       :filetype plugin indent on
> If you source the vimrc_example.vim by means of
>       :runtime vimrc_example.vim
> or
>       :source $VIMRUNTIME/vimrc_example.vim
> , it includes ":filetype plugin indent on".
> The width of the relative indent is usually defined by the 'shiftwidth'
> option. By default, 'shiftwidth' (the width of an indent) and 'tabstop'
> (the width of a hard tab) both default to 8, and 'softtabstop' (by how
> much the cursor moves when you hit <Tab>) defaults to zero (meaning use
> the value of 'tabstop'). In general, I don't recommend setting 'tabstop'
> to anything other than 8, for compatibility reasons with some other
> editors and compilers.
> Best regards,
> Tony

This I know, but what I am looking for is a way to lock these syntax indents 
such that I cannot break the indentation by hitting space og tab repeatently. 

Kim Schulz

Reply via email to