Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: vi-goto-column



Zoltan Hidvegi wrote:
>The patch below will probably does what you want but vi fans may oppose
>this patch.  POSIX.2 upe specifies the requirements for vi mode, but
>unfortunately I do not have this document so I do not know how this should
>behave.  Bash behaves like zsh so I think the current behaviour
>(ie. without the patch below) is correct.

This patch is correct.  After any command has been executed, ZLE will
move the cursor back one column if it is at the very end of a line in
vi command mode, so for vi users the visible behaviour is not changed
by this patch.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author