alacritty/alacritty

Keybinding "/" not starting search in "Vi" mode for Spanish keyboard

Open

#8.846 geöffnet am 19. Feb. 2026

Auf GitHub ansehen
 (15 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (3.461 Forks)batch import
B - bugD - easyS - keybindingshelp wanted

Repository-Metriken

Stars
 (64.070 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 6h) (3 gemergte PRs in 30 T)

Beschreibung

Hi there 👋

So I've had to download the source code to find out what's happening but now I don't know how to proceed to fix it (in the code) so I'm asking here.

Let me first explain what happens. In Spanish keyboards the / is above number 7 so it you input it by pressing Shift+7.

However, for some reason, the event arrives to Alacritty as Shift+/ making the default key binding fail. I tried (before downloading the code) to map / and Shift+7 to SearchForward in the alacritty.toml but it didn't work. Now we know why 😅 .

I've worked around the issue adding this to the alacritty.toml file:

[keyboard]
bindings = [
	{key = "/", mods="Shift", mode="Vi", action = "SearchForward" },
]

However I would like to know what would be the best strategy to fix this in the source code and send a PR. In particular:

  1. Is this a expected behaviour (getting Shift+/ instead of /)?
  2. Should it be / alone instead or Shift+7?
  3. Should it be fixed in Alacritty or is it a bug from a dependency you are using?

Mind that I've tested the problem in Fedora and Arch and both systems were affected.

Thanks in advance, Ivan

Contributor Guide