zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

Strange behavior when hitting escape after hitting [cdy]

Open Goose97 opened this issue 4 months ago • 1 comments

General information

  • Terminal program: unknown unknown (xterm-kitty)
  • Operating system: macOS 15.0 (24A335)
  • ZSH framework:
  • ZSH version: zsh 5.9 (arm64-apple-darwin24.0)
  • ZVM version: zsh-vi-mode 0.11.0 (cd730cd, 2024-07-02 18:19:13 +0800)

Basic examination

  • [x] I have read through the README page
  • [x] I have the latest version of zsh-vi-mode
  • [ ] I have tested with another terminal program

Problem description

When I perform these key sequence in normal mode:

  1. Hit either c, d or y
  2. Hit Escape

Instead of exiting to normal mode, it enters visual mode.

https://github.com/user-attachments/assets/018ae762-55a8-4fe4-9614-d7b13fb28ea7

Reproduction steps

  1. Make sure you are in normal mode
  2. Hit c (or d, y)
  3. Hit Escape

Expected behavior

Shell should exit to normal mode

Goose97 avatar Oct 09 '24 11:10 Goose97