Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vi mode reset
- X-seq: zsh-users 22166
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Christian Brabandt <cb@xxxxxxxxxx>
- Subject: Re: vi mode reset
- Date: Fri, 09 Dec 2016 15:44:07 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1481294648; bh=yBzVM7rY2O0BWYJgGsN26JWMSTGMzQTTF2wWPW9oiRw=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=hevRAGwbSZUeQ8k0JLDvfv00k3/nFMZbdpmSDt/Xo4ldBHnpSRc6Q9uiwsniL6HS+VPQGEb0bvLgTEIcCJq3/GzmV2n/4F8uK4HlCgRMnteHJyhyvGIsY4jvV+O1N4onN11YYcFFwafxmEi+4ZYbwn0NUcB2i5XeNR/Q3016WjDbpmb0CzpUIkQQi/Wadr1VZ/vmd7JqL0PchYsuX/c1wgPGxrx+uviYy9XHImKjxp1XTraaLOSOouygfAqKAAJl5FMQOlymVyjxYVJcBELGLVONUTagEZffrZjRweLoczP6kJx+d2/VZbZbHRlSIe//OZSODj4L6SbRU8Hdws8TLA==
- In-reply-to: <20161209122958.GD19559@256bit.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20161209122958.GD19559@256bit.org>
Christian Brabandt wrote:
> However, since the upgrade I noticed that my zsh resets vi mode, on
> various occasions, but I cannot reproduce exactly when exactly this
What exactly do you mean by "resets vi mode". Switches to command/normal
mode without your having pressed escape, perhaps? Many key combinations
send a sequence of characters starting with an escape so zsh may be
mis-interpreting that.
> happens. I think this usually happens either if I am pasting something
> into the terminal (using putty from Windows and pasting using
> <shift><insert> keys) or running Vim.
Sounds like possibly an effect of the bracketed paste feature. You can
disable that with: unset zle_bracketed_paste
It'd be better to understand how it is coming to fail for you. Perhaps
your terminal has a different bracketed paste mode. Or perhaps you've
removed the key binding for it. Do you perhaps clear a range of key
bindings in your .zshrc? What does this show?:
bindkey -L |grep 200
What do you see if you press Ctrl-V before pasting text?
Do you perhaps have some other safe-paste or bracketed-paste plugin from
elsewhere. Are you using something like oh-my-zsh or prezto?
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author