Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: end-of-line not working as advertised?
On Thu, Aug 20, 2015 at 06:25:12PM -0700, Bart Schaefer wrote:
> On Aug 20, 12:36pm, Robin Lee Powell wrote: }
> } Please cc: me as I'm not on the list.
> }
> } beginning-of-line works, in that repeated presses take me to
> } successive line beginnings. end-of-line, not so much. See video:
>
> You're using an emacs-mode key binding in vicmd mode. In vicmd
> mode, the position of the cursor isn't allowed to move beyond the
> last real character on any line, so end-of-line never actually
> reaches (what it defines as) the end of the current line, and
> therefore never advances to the next line.
>
> If you try it in either actual emacs mode, or in viins mode where
> you have also defined it, it works as documented.
>
> Nothing is guaranteed to work exactly as documented if you mix the
> widgets from different modes; vicmd mode is especially unlike
> either of the others.
OK, fair enough.
What I actually *wanted*, btw, was a way to get to the beginning or
end of a multi-line command; these were just the best versions I
saw.
--
http://intelligence.org/ : Our last, best hope for a fantastic future.
.i ko na cpedu lo nu stidi vau loi jbopre .i dafsku lu na go'i li'u .e
lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e
lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni li'u
Messages sorted by:
Reverse Date,
Date,
Thread,
Author