[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VIM reindent with =



On 18 Jan 2002, Coen De Roover wrote:

> Hello, 
> when I try to reindent a code block in visual mode or in command mode
> while standing on the line that needs to be reindented, I use the =
> command. This works, but the change is only visible when I press another
> (arrow) key afterwards.
> Is this typical VIM behaviour or can this be changed in the preferences
> ?

	This is normal behaviour.  Just like most other vi commands, vim
is expecting a motion from you.  For example, =j or =}.  If you just
want to indent the _current_ line, you hit ==

Simon



Reply to: