From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1056 invoked by alias); 8 Jan 2016 23:25:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21131 Received: (qmail 10260 invoked from network); 8 Jan 2016 23:25:05 -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 Subject: Re: Announcement of Zsh Command Architect v1.0 To: zsh-users@zsh.org References: <20160108093313.GA16910@linux.vnet.ibm.com> From: Bernd Steinhauser Message-ID: <56904342.8020802@bernd-steinhauser.de> Date: Sat, 9 Jan 2016 00:16:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160108093313.GA16910@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 08/01/16 10:33, Dominik Vogt wrote: >> No more need for a mouse to copy parts of commands in history. > I never use the mouse for that (partially because the middle mouse > button is broken): > > (Move cursor to start of word to copy) > Ctrl-Space (set mark) > (Move cursor to start of word to copy) > Ctrl-w (cut) > (Move cursor to new location of the word) > Ctrl-y (yank; insert cut buffer) > > Or with the example from the video: > > # type > mplayer -fs > # noticed that I need a long word from the history, so comment > # out the unfinished command line and store it in the history > # > # look for the history line with the long word; the multi word > # search would be helpful > The_Voi > # Mark and cut the file name: > > # abort editing > > # recall the unfinished command and insert the cut-buffer > > # remove comment and execute > zsh provides a lot of stuff that is really cool and I'm sure that you can do pretty much everything out of the box (with using the provided plugins). However I would have a hard time to remember all of the key shortcuts you're using because I don't use emacs. I know that you can use vi bindings for zle as well, but I'm not really used to it and therefore often just fall back to plain mouse select and copy. Even after 8 years of using zsh, I'm still only scratching the surface of it. So such a tool as presented for me would be quite cool because it seems to provide a quite intuitive approach to edit the command. Best Regards, Bernd