Closed thor314 closed 1 year ago
The
[keys.normal]
C-/ = "toggle_comments" #nope
case is expected: that's invalid TOML.
It looks like the terminal or crossterm are a bit confused about the C-/
. Using crossterm's event-read example:
Event: Key(KeyEvent { code: Char('/'), modifiers: NONE })
Event: Key(KeyEvent { code: Char('7'), modifiers: CONTROL })
It's interpreted as C-7
🤔
I think this falls under https://github.com/helix-editor/helix/issues/1085
Summary
The following produces no errors, but fails:
The following produces an error, and fails:
The following works as expected:
Recommended short term action: make a note in the key-remapping section in docs, until bug can be resolved.
Reproduction Steps
No response
Helix log
Config file: /home/thor/.config/helix/config.toml Language file: /home/thor/.config/helix/languages.toml Log file: /home/thor/.cache/helix/helix.log Runtime directory: /home/thor/.config/helix/runtime
Platform
PopOS linux-gnu
Terminal Emulator
alacritty 0.11.0-dev (63ef6c93)
Helix Version
helix 22.05 (19e51c82)