From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17899 invoked by alias); 21 Aug 2015 05:29:54 -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: 36258 Received: (qmail 20455 invoked from network); 21 Aug 2015 05:29:52 -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: Thu, 20 Aug 2015 22:29:47 -0700 From: Robin Lee Powell To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: end-of-line not working as advertised? Message-ID: <20150821052947.GV22026@stodi.digitalkingdom.org> References: <20150820193601.GR22026@stodi.digitalkingdom.org> <150820182512.ZM29360@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150820182512.ZM29360@torch.brasslantern.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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