jeffreytse/zsh-vi-mode

`^[` keybinds triggers normal mode

Closed this issue · 1 comments

General information

  • Terminal program: tmux 3.4 (tmux-256color)
  • Operating system: Linux (6.6.28 #⁠1-NixOS SMP PREEMPT_DYNAMIC Wed Apr 17 09:19:38 UTC 2024 x86_64 GNU/Linux)
  • ZSH framework: starship 1.18.2
  • ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)
  • ZVM version: zsh-vi-mode 0.11.0

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

Problem description

^[ (^[B, etc.) keybinds in insert mode causes normal mode to be activated.

Reproduction steps

zvm_bindkey viins '^[B' backward-word
zvm_bindkey viins '^[F' forward-word
zvm_bindkey viins '^[D' delete-word

Expected behavior

Normal mode should not be activated.

This works:

zvm_bindkey viins '^[b' backward-word
zvm_bindkey viins '^[f' forward-word
zvm_bindkey viins '^[d' delete-word