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: Fri, 21 Aug 2015 22:14:25 -0700 [thread overview]
Message-ID: <20150822051424.GB22026@stodi.digitalkingdom.org> (raw)
In-Reply-To: <150821000739.ZM10530@torch.brasslantern.com>
On Fri, Aug 21, 2015 at 12:07:39AM -0700, Bart Schaefer wrote:
> On Aug 20, 11:39pm, Bart Schaefer wrote:
> }
> } Try end-of-buffer-or-history ... yes, it's still an emacs-mode widget,
>
> Or try this:
>
> vi-next-end-of-line() {
> local curs=$CURSOR
> zle vi-end-of-line
> if (( curs <= CURSOR )); then
> NUMERIC=2 zle vi-end-of-line
> fi
> }
> zle -N vi-next-end-of-line
> bindkey -a ^E vi-next-end-of-line
That is *SUPER* helpful! Thank you so much.
--
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
next prev parent reply other threads:[~2015-08-22 5:14 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
2015-08-21 6:39 ` Bart Schaefer
2015-08-21 7:07 ` Bart Schaefer
2015-08-22 5:14 ` Robin Lee Powell [this message]
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=20150822051424.GB22026@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).