zsh-workers
 help / color / mirror / code / Atom feed
From: Robin Lee Powell <rlpowell@digitalkingdom.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: end-of-line not working as advertised?
Date: Thu, 20 Aug 2015 22:29:47 -0700	[thread overview]
Message-ID: <20150821052947.GV22026@stodi.digitalkingdom.org> (raw)
In-Reply-To: <150820182512.ZM29360@torch.brasslantern.com>

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


  reply	other threads:[~2015-08-21  5:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 19:36 Robin Lee Powell
2015-08-21  0:48 ` Vincent Lefevre
2015-08-21  1:25 ` Bart Schaefer
2015-08-21  5:29   ` Robin Lee Powell [this message]
2015-08-21  6:39     ` Bart Schaefer
2015-08-21  7:07       ` Bart Schaefer
2015-08-22  5:14         ` Robin Lee Powell
2015-08-22 20:16           ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150821052947.GV22026@stodi.digitalkingdom.org \
    --to=rlpowell@digitalkingdom.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).