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.

How about

:nmap <tab> ==

This will allow you to insert tabs while in insert mode, but when in
normal mode it indents the line according to the current indent rules.

--  Greg

Reply via email to