From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10994 invoked by alias); 25 Oct 2016 16:25:17 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22027 Received: (qmail 25283 invoked from network); 25 Oct 2016 16:25:17 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f65.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.65):SA:0(0.0/5.0):. Processed in 0.156953 secs); 25 Oct 2016 16:25:17 -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=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=TXEJM78HouC2Vk2hesqovcw0ZN/G/nDoKx5jATCaeZk=; b=GysKQUPHYBtAM//uQF9EFMWUem7zv8+cLh07CxDs3x7W8FRtrQRSsqOqLRMtXe18wl UQ17HSuAoXmJEsaQbjDZ9ipBdaI8UtENVQRCVp03iHmenspMuRUx1fnHnv5E27nr05Z5 9TuuVcrbs4Zk9Ip2xk9uiPwpKAaq3penmY9G5UFpv3pFbxMVUh57apd/70+81cV61ZwN 1zNverX9QPbLywFDiJCE8e3nKuqYjOi2wycEz7jwizEnTcJyjYtM7y8B0slVi8Yav+mW zqZIv1Gxtq5659lCMQh2gdGjTlak1lJ/zeuyExB39aP6eeCWqj/aEXGg2il+PR+tSYEP ESxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=TXEJM78HouC2Vk2hesqovcw0ZN/G/nDoKx5jATCaeZk=; b=ZdU6SKFRH/X8iVuvMXnxQwfvjy8QPDt6rVvl2X3hKY+5SJ9a/FUCcfNaWOU8nQh9Lu GivyDEn8NFajCsJu7cTquTyQ/vEk8bk2TpFLRH5SpVevU49eikSHf6pnHorte9tFs15C qoPcKhxew1xzELrV4ZG+jFrunsWOAnB2zzhfhM1lpReEaAZb1d9EtwAT75dJ3cWKKrSz ZASFxceoEH0JnRwUz7i7AOP8AaZj38dnSGNVoMAFszK2JGBG+AqFMVZHGovGV65Fcgqy vBxNSoIS7WLg17KCIW62Xs47ig2s8n1QJEWHLGM2AqvbWuRSKY8uGwPffkIwODWxHYV9 LYTA== X-Gm-Message-State: ABUngvfAshZnG2HYUNzlCKU2XvWlMJAFZZiYIaCdBidb60CZWAd4oLmntBuIkunw5XVThw== X-Received: by 10.31.86.132 with SMTP id k126mr15856581vkb.11.1477412712060; Tue, 25 Oct 2016 09:25:12 -0700 (PDT) From: Bart Schaefer Message-Id: <161025092522.ZM7635@torch.brasslantern.com> Date: Tue, 25 Oct 2016 09:25:22 -0700 In-Reply-To: Comments: In reply to lolilolicon "Shift-Insert erratic behavior in edit-command-line vim" (Oct 25, 8:48pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Shift-Insert erratic behavior in edit-command-line vim MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 25, 8:48pm, lolilolicon wrote: } } I use ESC-e (edit-command-line) to edit the current command line in vim. } Usually in vim Insert mode, I can use Shift-Insert to insert X PRIMARY } selection, but for some reason, it doesn't work here. } Instead, vim would enter Normal mode and execute... something Another side-effect of bracketed-paste. Fixed in the forthcoming 5.3 release; partial patch was posted in zsh-users/20873, but here is the full set of changes. diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line index 103a1c1..353f260 100644 --- a/Functions/Zle/edit-command-line +++ b/Functions/Zle/edit-command-line @@ -1,8 +1,8 @@ # Edit the command line using your usual editor. -# Binding this to 'v' in the vi command mode map, +# Binding this to '!' in the vi command mode map, # autoload -Uz edit-command-line # zle -N edit-command-line -# bindkey -M vicmd v edit-command-line +# bindkey -M vicmd '!' edit-command-line # will give ksh-like behaviour for that key, # except that it will handle multi-line buffers properly. @@ -10,7 +10,9 @@ exec