From: Bart Schaefer <schaefer@brasslantern.com>
To: Robin Lee Powell <rlpowell@digitalkingdom.org>, zsh-workers@zsh.org
Subject: Re: end-of-line not working as advertised?
Date: Thu, 20 Aug 2015 18:25:12 -0700 [thread overview]
Message-ID: <150820182512.ZM29360@torch.brasslantern.com> (raw)
In-Reply-To: <20150820193601.GR22026@stodi.digitalkingdom.org>
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.
--
Barton E. Schaefer
next prev parent reply other threads:[~2015-08-21 1:25 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 [this message]
2015-08-21 5:29 ` Robin Lee Powell
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=150820182512.ZM29360@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=rlpowell@digitalkingdom.org \
--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).