Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: New user questions
- X-seq: zsh-users 2996
- From: "Andrew Morton" <morton@xxxxxxxxxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: New user questions
- Date: Fri, 31 Mar 2000 06:40:36 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Nortel Networks, Wollongong Australia
- References: <000001bf9a14$3f9b50b0$21c9ca95@xxxxxxxxxxxxxx>, "Andrej Borsenkow"'s message of "Thu, 30 Mar 2000 10:50:34 +0400" <m21z4stj1h.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: "Andrew Morton" <morton@xxxxxxxxxxxxxxxxxx>
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<ESC>
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'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author