Skip to content

[BUG] Cannot insert comma in insert mode when ZVM_VI_ESCAPE_BINDKEY=",." #325

@Valloric

Description

@Valloric

General information

- Terminal program: ghostty 1.1.3 (xterm-ghostty)
- Operating system: Linux (6.12.38+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16) x86_64 GNU/Linux)
- ZSH framework: oh-my-zsh master (f6a89f3a)
- ZSH version: zsh 5.9 (x86_64-debian-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: Yes, same issue in gnome-terminal.

Problem description

It's not possible to insert a comma (,) in insert mode when ZVM_VI_ESCAPE_BINDKEY=",." is set. This reproduces in both Ghostty and gnome-terminal on Debian Trixie (haven't tried other OS's).

Interestingly, ZVM_VI_ESCAPE_BINDKEY="jj" works as expected: pressing j causes a delay before j is inserted. So something special is happening for comma.

Note: ZVM_VI_ESCAPE_BINDKEY=",." is very useful when using Dvorak keyboard layouts.

Reproduction steps

  1. Set ZVM_VI_ESCAPE_BINDKEY=",." in your zshrc.
  2. Open a new shell.
  3. Typing , produces no output in the console, no matter how long you wait after pressing.

Expected behavior

The character , should show up after a short delay (the time period when zsh-vi-mode is waiting to see if . will be inserted).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions