-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Failed to bind ctrl-m #2401
Comments
Ctrl-M and Enter both use the same ASCII code: 13. I suspect Micro has Enter internally-wired to perform a carriage return in the editor. Probably the only way around this (if possible) is to have Kitty remap the literal Ctrl+M keypress to a different code that is then sent to Micro. |
Still an issue in current master: Version: 2.0.14-dev.70 |
This issue is always gonna be in current master. It is the same issue I wrote about in #2868 (comment) I think all we can do here is clearly explain in |
Well...
and: #2868 (comment) so: with gdamore/tcell#671 fixed, things might get better (but only with Kitty and a couple of other terminals)... |
Description of the problem or steps to reproduce
When adding keybindings with the Ctrl-m, it seems micro failed to phrase to execute:
Checked the keybindings document, this one should get supported. But the behavior here, is it would failed to run as expected.
Maybe there's some hard-coded sutff causing this?
Specifications
Commit hash:dd69599f376ce3f0918a2c4d173d708fb67fe0ec
(Both latest master branch, and latest stable version 2.0.10, having this issue)
OS: Debian bullseye
Terminal: Kitty
The text was updated successfully, but these errors were encountered: