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

Re: Remaining zsh3.0-pre2 bugs



>I think this has to do with the very last line of undo() in zle_misc.c:
>
>    cs = ue->cs;
>
>Unless I'm mistaken, this resets the cursor position to where it was
>before the undo.  Vi doesn't act that way.  However, there doesn't
>seem to be any way to tell whether undo() was called from emacs-mode
>"undo" or from vi-mode "vi-undo-change".  Probably the right thing is
>to skip that assignment when called as vi-undo-change, but I'm not
>sure that's quite right either.

That would be worse, I think.  I have plans to improve some of the
remaining vi mode bindings, including this one, but there are more
serious problems than this.  vi cut buffers, for example, basically
don't work at the moment.

-zefram




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