Zsh Mailing List Archive
Messages sorted by:
Re: vi mode reset
- X-seq: zsh-users 22170
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Christian Brabandt <cb@xxxxxxxxxx>
- Subject: Re: vi mode reset
- Date: Fri, 09 Dec 2016 17:46:33 +0100
- Cc: zsh-users@xxxxxxx
- 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==
- In-reply-to: <20161209154813.GG19559@256bit.org>
- List-help: <mailto:email@example.com>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20161209122958.GD19559@256bit.org> <email@example.com> <20161209154813.GG19559@256bit.org>
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
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
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
Messages sorted by: