Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Simple Tip of the Day



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