On 2006-08-24, Kim Schulz <[EMAIL PROTECTED]> wrote:
> Hi is there a way to make indentation in Vim "lock" like in emacs 
> so that if I press tab in the beginning of a line, then it indents 
> the line to the correct place. Pressing tab multiple times does 
> not change the indentation any further - it is locked. 

    :help indentkeys
    :help cinkeys

Typing one of those keys while in insert mode will indent the 
current line according to the current indent rules.  I think the 
behavior is similar to emacs's use of tab.

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to