-
Notifications
You must be signed in to change notification settings - Fork 128
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
Missing Commentary on meow-esc.el in Docstring #510
Comments
These codes are copied from evil to make esc work in terminal. :) |
What should we write for the module docstring short explanation? |
This module is used to patch the behavior of ESC key in terminal. |
Why was the patching required? Just curious to understand the historical reason for it needing to exist. |
It's because meta combos in the terminal send the exact same keycode as pressing ESC and then the key, which is why you can use ESC as meta in the terminal. This is problematic for evil and meow because esc is used while coding more frequently, if you press escape and then a key usually you don't want the meta combo. |
Refactor the "fake" meow-esc-mode with the minor mode macro. Add commentary as suggested in #510.
https://github.com/meow-edit/meow/blob/master/meow-esc.el#L16
Could we add a comment there?
I'm not sure what to put.
The text was updated successfully, but these errors were encountered: