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.
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
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 (2cadec0b)