From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3243 invoked by alias); 27 Feb 2016 17:09:52 -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: 38040 Received: (qmail 4857 invoked from network); 27 Feb 2016 17:09:50 -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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=ZNiPKqnA9vM8NcJL0/624+tHh4ZEXGkEqo9MkOy9MGE=; b=qciQ3XQgfct3eDlD3Ag+uVnI+QMV+6DugI95XfW3M5hTLJ1hNI2aC84F5+XgLn0sZo YduxPrmsUzMNJlWwEJ5J00nL01J3ka4jTl/wElbMsZ6+kJUlFmG0WUm4e3zXFKInePCl hQYycyaLR4iRb+TjGm6V+Lu2RYUsklN+W2EqkXdiBK89vuKiDKjkDNsJP8NySn34CBEY lVRIDE2LANw8zrpeVm1dmJpsIHzumBPsOY2y6Edog1F1no8SkWB+Y6xo2j/aDU47ENKh +rBjgx2wF/t+f1soQzqepxF3s2uk9V4Q1CWsRC1Lsg9RibUs64Ht10Y1+1XOHKr0pNL+ cQiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=ZNiPKqnA9vM8NcJL0/624+tHh4ZEXGkEqo9MkOy9MGE=; b=b6xFbcfV2neJSs6BcLOjyEbiMvq4EbfYpc9X9FsMJlWFg5u7eBTlXvMSPMfND3wPxD fuI04jiyP549I0/W5ZpHnIGKui62fV8LjSq2AcskXSysgRNhFM2OVp666QGRC6b68foA sxj1/iNF4+C19dpu3I8VPrwjgjGlltzwmu2ReObEMFg5bwavXLdpI0wUug2nUMx5gT+I g55GcfZkM+TaATjzTvdM4K3FceYwQZobmQU7vsiyrBp4m1bDkZPrl/JyY28VuMQUXTVx iluj8mJEG57mCgfz8I8VBVkGixkecfjoqANZkktU37dM39dnKhSmluTnUThyNc1g16Lj wAVA== X-Gm-Message-State: AD7BkJL0roY9r6d9dzZpboIQd5pgr4Fq22WdPkIfrPtsDPwOxW+TAHncaCluBEu/2BnYgB6h3w0aKCfjn5WVZw== MIME-Version: 1.0 X-Received: by 10.28.98.84 with SMTP id w81mr3358516wmb.57.1456591676525; Sat, 27 Feb 2016 08:47:56 -0800 (PST) In-Reply-To: References: Date: Sat, 27 Feb 2016 08:47:56 -0800 Message-ID: Subject: Re: No incremental undo in vi mode From: Bart Schaefer To: Zsh hackers list Content-Type: text/plain; charset=UTF-8 On Fri, Feb 26, 2016 at 10:35 PM, Michael Giuffrida wrote: > When using vi bindings, my understanding is that `C-_` should trigger > readline's undo behavior, as should `u` when in command mode.[1] Zsh does not use readline. It has its own editor with its own set of key bindings. > 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. Are you sure you have C-_ bound to what you think you do? With bindkey -v bindkey '\C-_' undo I get the behavior you expect rather than the behavior you report. What does bindkey '\C-_' output for you?