Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
No incremental undo in vi mode
- X-seq: zsh-workers 38037
- From: Michael Giuffrida <michaelpg@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: No incremental undo in vi mode
- Date: Sat, 27 Feb 2016 06:35:45 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ISfgYFN5KRh1p3yQTMVCHybW57Si5f5THD7fPRTQ/yk=; b=KStlWG4jcgokTY0x5hOtW9kpyfY1YboIc+ZIi/gzmysJMybn0s5Z9xc2BLWSxoXYdF xEGX+MSsIGP5sq/DiUi9FzKyNLwvDupSjWJN4RjQnmAKybjtljlJd9sSLu7teSMT4HzE 2Nk4Cv4sWas7aikNfXtUX57mbBtWnUddkIPrHKHag0zgYQO4lTctC3Blk9X6WtOQdEAa 4CSTzHXZst9P/giF/qq/1yJ8gdUKJQC5iEn+HGTyjD40WZMtQP3jeUS2mo55hqMPfSJZ klZkTdCcOU01BeOCbFVx+z8tTY1Va3B6QUZo0achPbNYRqnURwd4AS364n+L+GMsZ7hE xWmg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
When using vi bindings, my understanding is that `C-_` should trigger
readline's undo behavior, as should `u` when in command mode.[1]
In emacs mode, and in bash (emacs mode or vi mode), this works as expected:
`C-_` performs incremental undo (e.g., removes the last typed character, or
restores the line to the previous text after expanding a glob via Tab).
In zsh in vi mode, it just clears the whole line. So it's not useful for
undoing the effect of glob expansion or other tab completion.
Is this a bug or am I doing something wrong? Apologies in advance if this
is a silly question. I'm brand new to zsh and couldn't figure this out
through man pages, searching, mailing list archives, patches, or release
notes...
[1] http://zsh.sourceforge.net/Guide/zshguide06.html
zsh 5.0.5 (x86_64-pc-linux-gnu)
GNU Readline 6.3
Messages sorted by:
Reverse Date,
Date,
Thread,
Author