Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands with international keyboard #11057

Open
DamianRavn opened this issue Jun 29, 2024 · 0 comments
Open

commands with international keyboard #11057

DamianRavn opened this issue Jun 29, 2024 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@DamianRavn
Copy link

Summary

I have a danish keyboard
I recently learned that you can click on the "|" symbol as a shortcut for writing :pipe, but nothing happened even though i was in the correct mode. I tried some other shortcuts like "]" and "!". some worked and some didn't. when i rebound the shell_pipe command to "&", it worked.

I downloaded the source code and figured out that the problem was that helix expects "|" to come with no modifiers, while i need to hold down both Control and Alt to make that symbol. to make the symbol "[" i need to hold down Control, Alt and 8.

Not a big deal since i can rebind the commands, the most annoying part was figuring out what was wrong, since insert mode showed the correct symbols.

Reproduction Steps

  1. own a Nordic keyboard
  2. click "|" or "["
  3. notice that nothing happens

Helix log

2024-06-29T18:44:19.314 helix_term::keymap [ERROR] key: KeyEvent {
code: Char(
'|',
),
modifiers: KeyModifiers(
CONTROL | ALT,
),
}

2024-06-29T18:50:05.469 helix_term::keymap [ERROR] key: KeyEvent {
code: Char(
']',
),
modifiers: KeyModifiers(
CONTROL | ALT,
),
}

Platform

Windows

Terminal Emulator

Windows terminal with Powershell

Installation Method

winget

Helix Version

helix 24.3 (2cadec0)

@DamianRavn DamianRavn added the C-bug Category: This is a bug label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant