Toggling comments inside insert mode #10572
-
SummaryI've been trying to improve my commenting workflow by making it accessible inside insert mode with this config: [keys.insert]
"C-/" = "toggle_comments" But instead of a Reproduction StepsI tried this:
[keys.insert]
"C-/" = "toggle_comments" I expected this to happen:
Instead, this happened:
Helix log~/.cache/helix/helix.log
PlatformLinux Terminal EmulatorWindows Terminal (ssh session) Installation MethodReleases Helix VersionHelix 24.3 (2cadec0) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I tried [keys.insert]
"C-/" = ":insert_output echo #" I still got a 7! Edit: [keys.insert]
"C-c" = "toggle_comments" Would this be some shell/terminal issue? |
Beta Was this translation helpful? Give feedback.
-
The terminal confuses some keypresses for others unless your terminal supports the kitty keyboard protocol https://github.com/helix-editor/helix/wiki/Terminal-Support#enhanced-keyboard-protocol. |
Beta Was this translation helpful? Give feedback.
The terminal confuses some keypresses for others unless your terminal supports the kitty keyboard protocol https://github.com/helix-editor/helix/wiki/Terminal-Support#enhanced-keyboard-protocol.
C-/
shares7
's escape codes similar toC-h
sharingBackspace