From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20177 invoked by alias); 22 Aug 2015 05:14:32 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36270 Received: (qmail 9617 invoked from network); 22 Aug 2015 05:14:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Date: Fri, 21 Aug 2015 22:14:25 -0700 From: Robin Lee Powell To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: end-of-line not working as advertised? Message-ID: <20150822051424.GB22026@stodi.digitalkingdom.org> References: <20150820193601.GR22026@stodi.digitalkingdom.org> <150820182512.ZM29360@torch.brasslantern.com> <20150821052947.GV22026@stodi.digitalkingdom.org> <150820233941.ZM10466@torch.brasslantern.com> <150821000739.ZM10530@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150821000739.ZM10530@torch.brasslantern.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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