From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27429 invoked by alias); 9 Dec 2016 16:54:09 -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: 22170 Received: (qmail 818 invoked from network); 9 Dec 2016 16:54:09 -0000 X-Qmail-Scanner-Diagnostics: from nm9-vm2.bullet.mail.ir2.yahoo.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(212.82.96.145):SA:0(-0.7/5.0):. Processed in 1.595886 secs); 09 Dec 2016 16:54:09 -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.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: okiddle@yahoo.co.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.mail.yahoo.com designates 212.82.96.145 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1481301994; bh=TM+gp3Iy3iXnDwNVQUi+iR2p4qRUGOK7GK3Fd9SHFLw=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=dtGvuDxFxaOoucGg+LULOXs26EAU2ezPrZBdSIIJuj+TgkuBkodNWWmiX+OP6hlGpyF03TiUu/LHjdyQfecvLeR9Jup0NiDmrgox68LvohOcQvBskLCZM8du2ox3nCRjk+w+jVeYq/f0xI5Lr4rj6C9V4jEQ3EJqZlxBKhhAdpEy6UhU9Igelhud6D0Af+aI07IJBs1NiR9KvjbdYoUeZzDpEI5eGx0S1j/hBGJE47SnNkOxJl2PdITdBX2yxBlRM8VKG37f32PWlPob/rKxQbZU+LkXM0POUOQK3DNVEYZTlcqq2P4aIS8vCJBbbskTMdsGFudhqe01noRAmJsTww== X-Yahoo-Newman-Id: 120816.21769.bm@smtp111.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wDROCo0VM1kyw2CoikcVxjeyxnT5.V4mmMtf7M00YJ9ztaO l5AvALrjpYiItA1anO2rUK6k3HdxDqbRhZer43cXCbTr0XsE1xLQvCEAa.W6 ivx6rsCSXMxF7NdA5DYf3.EsfefxQLPeWAZI9uOq29NsiZZsXBXcHGHHd2e0 05JADY.d6LIG3_O4zAgWvVX5HIxDe19i2V7GyzBh77aS.mhRSTbNqC.fnFZ7 SJyN43Zf3X1wAtorDGWWXsE7GibapIz5RXDTy5i0nF43Qp.Nn2UYw0ZgcskA 0LosO1e.O02xk78wGZvPp4MDAcYLP.nBTUFJhAvrSWAl27Ei5PKhVr_95pXj 8F8ZMOUYw.uSTNqAAHIjelnfFHYDMmU72OfXpl.GTNqST7iqGGwbOUrT8ZHx 9Qu4ILQbdqCmJp0XQDv3Q.JXulyfdyK0qLwQVWJxNxaIyVL1t7j5kSgqF_hl .xNjzOkLpq1HBIFiV7OcaQLcNzXnqEJMc8xXJvBhx9tThkMa_KSPbRA5MTdm Zhe6Rd4wdzYIxDOqwLCzPvwBMhAvKAU7LKWZoVx_g X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- cc: zsh-users@zsh.org In-reply-to: <20161209154813.GG19559@256bit.org> From: Oliver Kiddle References: <20161209122958.GD19559@256bit.org> <57127.1481294647@hydra.kiddle.eu> <20161209154813.GG19559@256bit.org> To: Christian Brabandt Subject: Re: vi mode reset MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <62643.1481301993.1@hydra.kiddle.eu> Date: Fri, 09 Dec 2016 17:46:33 +0100 Message-ID: <62644.1481301993@hydra.kiddle.eu> Christian Brabandt wrote: > It is reset to emacs mode I believe. I have to hit set -o vi again. > > disable that with: unset zle_bracketed_paste > I'll try that, thanks. However I always thought, bracket paste mode is > useful... It is useful. > I don't use any distribution. > > Here is an example: > 0 59928 chrisbra@debian ~ % bindkey -L |grep 200 > bindkey "^X^[[200~" _start_quoted_paste > bindkey "^[[200~" _start_paste Maybe not from a distribution but those are custom functions, however. Somewhere or other, you've got some configuration that is defining those functions and binding the keys. Given that you started having problems when upgrading zsh, you probably didn't have the necessary configuration to turn your terminal's bracketed paste mode on and off. The newer zsh is turning it on for you because it has an internal widget for bracketed paste. I would guess that _start_paste switches you to a custom keymap where the end of bracketed paste is setup to switch you "back" to the emacs keymap. You want to get rid of all that: the _start_quoted_paste and _start_paste functions and any additional keymap. Then you should see: % bindkey -L |grep 200 bindkey "^[[200~" bracketed-paste To check for odd keymaps, run bindkey -l Oliver