Skip to content

Remove delay after pressing Esc key #111

Closed
@Hubro

Description

@Hubro

General information

Basic examination

  • I have read through the README page
  • I have the latest version of zsh-vi-mode
  • I have tested with another terminal program (Gnome Terminal)

Problem description

After pressing Esc, there is a short delay before ZVM enters Normal mode.

  1. Press down Esc key
  2. Release Esc key
  3. ~200 ms
  4. Normal mode

This means that very often when I press: EsckEnter in order to run the previous command, nothing happens. If I intentionally do it slowly, it works, but this is a key combination I press very, very often, so I naturally do it really fast.

Reproduction steps

Read above

Expected behavior

Ideally ZVM would enter Normal mode immediately when the Esc key is pressed down, with no delay.

To compare, I have tried:

  • vim/nvim in the terminal
  • Bash built-in vi-mode
  • ZSH built-in vi-mode

None of the above have any perceivable delay after pressing Esc. I can press EsckEnter as fast as I possibly can, and they never miss any of the keystrokes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingverifiedThis issue was already verified

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions