Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Simple Tip of the Day
- X-seq: zsh-users 9595
- From: Philippe Troin <phil@xxxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: Simple Tip of the Day
- Date: 29 Oct 2005 22:10:55 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <ci14m1hm45ig6umsu2v0tkini1gp0bad3r@xxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ci14m1hm45ig6umsu2v0tkini1gp0bad3r@xxxxxxx>
zzapper <david@xxxxxxxxxx> writes:
> Your most useful binding?
"^O" accept-line-and-down-history
Allows someone to repeat a sequence of commands.
Eg.
% foo <ENTER>
-foo-output-
% bar <ENTER>
-foo-output-
% baz <ENTER>
-foo-output-
% <Up> <Up> <Up>
prompt now shows:
% foo <CTRL-O>
-foo-output-
% bar <CTRL-O>
-foo-output-
% baz <ENTER>
-foo-output-
%
Easier seen than described.
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author