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

Special ZVM_VI_ESCAPE_BINDKEY charactors pressed but not added after timeout

Open uduse opened this issue 1 year ago • 0 comments

General information

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

Setting the escape keys to ,, somehow doesn't print after timeout.

Diagnosis

Escape with jk

  1. set export ZVM_VI_INSERT_ESCAPE_BINDKEY=jk
  2. press jk in terminal
  3. escaped
  4. go insert again
  5. press j in terminal
  6. wait for a sec
  7. j printed to the screen

Escape with ,,

  1. set export ZVM_VI_INSERT_ESCAPE_BINDKEY=,,
  2. press ,, in terminal
  3. escaped
  4. go insert again
  5. press , in terminal
  6. wait for a sec
  7. nothings shows up

Escape with ,,, but a different read key engine

  1. set export ZVM_VI_INSERT_ESCAPE_BINDKEY=,,
  2. also set export ZVM_READKEY_ENGINE=$ZVM_READKEY_ENGINE_ZLE
  3. press ,, in terminal
  4. escaped
  5. go insert again
  6. press , in terminal
  7. wait for a sec
  8. , printed to the screen

uduse avatar Jan 23 '24 19:01 uduse