From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17726 invoked from network); 31 Mar 2000 07:29:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Mar 2000 07:29:10 -0000 Received: (qmail 19048 invoked by alias); 31 Mar 2000 07:28:37 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2996 Received: (qmail 18948 invoked from network); 31 Mar 2000 07:28:23 -0000 Sender: "Andrew Morton" Message-ID: <38E44864.A7072DAE@asiapacificm01.nt.com> Date: Fri, 31 Mar 2000 06:40:36 +0000 From: "Andrew Morton" Organization: Nortel Networks, Wollongong Australia X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.3.99-pre2 i686) X-Accept-Language: en MIME-Version: 1.0 To: zsh-users Subject: Re: New user questions References: <000001bf9a14$3f9b50b0$21c9ca95@mow.siemens.ru>, "Andrej Borsenkow"'s message of "Thu, 30 Mar 2000 10:50:34 +0400" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well thanks everyone for all the help. Just about everything is working sweetly (better than the old shell, actually). Trolling through the magic commands in /usr/share/zsh/3.1.6-dev-20/functions/Commands/ helped a lot. A few more observations: - The zshbuiltins manpage doesn't cover 'bindkey' - History-search-backward could be improved. In this example it is bound to ESC: prompt> echo foo prompt> echo bar prompt> echo f This will then match 'echo bar'. Would be more sensible to match 'echo foo'? - The _history-complete-older function does exactly what I wanted for searching back through word history! - _history-complete-older has a bug. In this example it is bound to ^R: prompt> echo aa "bb" cc prompt> echo ^R # OK, gives echo cc prompt> echo ^R^R # oops. gives echo aa It is skipping quoted words in its search. - delete-char-or-list will list the matching files if at end-of-line. Marvellous. Question: How do I, within .zshrc, simply erase _all_ preexisting bindings and start afresh? I've tried everything. pwold011:/home/morton> bindkey -l .safe emacs main vicmd viins pwold011:/home/morton> bindkey -D emacs vicmd viins pwold011:/home/morton> bindkey -l .safe main pwold011:/home/morton> bindkey -D main No such keymap `main'