Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Recently changed behavior with moving between CTRL-R history search to vi mode
- X-seq: zsh-users 21669
- From: Cory Klein <coryfklein@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Recently changed behavior with moving between CTRL-R history search to vi mode
- Date: Wed, 15 Jun 2016 16:59:15 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=yt/NCEQQwXLi0p6KHcpWpvvx07EUWOJPK8BQi+1jGFo=; b=sF4vIt9suxAIpcwMD+4ScvEHYqWFiEvrqm1Tk3MFx3GD197iUPpuU7qO7SgVnIzHe3 uXpSbCy/V9o3iYRHe9ptoh+f2RIZH9xpiHu7VVO8Dqe0J3Aw7mOkYt4aUeCEhQSZGOtP INguvN49hLmO+FCasHa/q0WPX+QzmAIz2XvsRxqkDwqFiL6cD2FyOa8NrawMbKEBjh9E e9JU4MwLw/CnzFXJjbjKHc9ZNtxNKnCUvdZ0Yrq457/Rk1rK58zbHaet6PbjuJdFJ/HA 2iSCOnF18zcGLp/bTxUYeN7jUBK9jrzjkXCI+8oCGK3PYP8IYo++Vna8NFw4O2jIfFBa XK0w==
- 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
Use case: Modify and run a previously run command.
Solution:
1. CTRL-R
2. search for command
3. ESC to end history search, placing result into command prompt
4. ESC again to enter vi mode
5. w/l/other vi movement key
However, recently I'm seeing that in some cases my shell is combining
the ESC from 4 with the movement key from 5:
ESC-w => delete from the beginning of the line to the current cursor position
ESC-l => insert "ls" in the current cursor position and execute the
command immediately (huh?)
I can get the original behavior back by hitting ESC one more time -
escaping whatever strange mode my prompt is in, and getting into vi
mode for reals.
Forgive me if this is not the correct forum for seeking help with
this, but does anyone here know what might be happening here, have a
solution, or a suggestion on where else I may look for more
information?
Thanks,
Cory Klein
Messages sorted by:
Reverse Date,
Date,
Thread,
Author