Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Undo Depth in ZLE
- X-seq: zsh-users 14909
- From: Radostan Riedel <riedel@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Undo Depth in ZLE
- Date: Mon, 08 Mar 2010 12:18:43 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
In vi-mode the 'u' key is bounded to
> vi-undo-change
According "man zshzle"
> vi-undo-change (unbound) (u) (unbound)
> Undo the last text modification. If repeated, redo the modification.
Just try out :
> bindkey -M vicmd 'u' undo
best regards
Ray
Am Montag, den 08.03.2010, 15:55 +0530 schrieb Chidambaram Annamalai:
> Is there a way to undo more than once in ZLE?
> The default behavior in the vi mode in ZLE is to toggle between undo
and
> redo on pressing u.
> I want to be able to undo more than one previous change. Is it
possible?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author