From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18446 invoked by alias); 27 Feb 2016 06:35:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38037 Received: (qmail 28115 invoked from network); 27 Feb 2016 06:35:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ISfgYFN5KRh1p3yQTMVCHybW57Si5f5THD7fPRTQ/yk=; b=KIp9u4qtgLPqYMhf7vjbTiUcVxZTnRd7nSN+M/EM7RJM8hTXNa2bkoI31Xk5Ak51wN 5IVEirsahMlxsl8JSMvtYBKdxJcZSfZgLc5chFisFP7Noaeoa9haHJA9l9rTTQjiejnR qHvwVYJJhHjlPWAz63P0Ag3ohUUE/vya8pkRj0o9aot/2HwDse1pRX5Cy9+vV2OIDS6V tbXcE0+dspv0dj7mTX5uf7PZx5drNRXs8h/qG7q0CTdoCWIiiIS17JQJQD5qqmBSiZZ6 bhSH6K+40+CUe4tkQ/wtE5xuIFOxvYSrN/1yzuBTvaQAb94cT1pnLuo0HFxKWzyLbuWW WGrg== X-Gm-Message-State: AD7BkJLCbBVDjXziWafWW6wcvYtGW4De252V/dXrwlDx/vmjUMrE1EWrNWe0h+gvs4s+Kdk8i2JiiRabAqrlhvGU X-Received: by 10.37.71.131 with SMTP id u125mr2887429yba.176.1456554954835; Fri, 26 Feb 2016 22:35:54 -0800 (PST) MIME-Version: 1.0 From: Michael Giuffrida Date: Sat, 27 Feb 2016 06:35:45 +0000 Message-ID: Subject: No incremental undo in vi mode To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=001a11423b38ae2d4d052cbaa017 --001a11423b38ae2d4d052cbaa017 Content-Type: text/plain; charset=UTF-8 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 --001a11423b38ae2d4d052cbaa017--