-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix emacs keymap #3755
Comments
Here is an example of how it could be achieved Bad-ptr/mc@404ef82 |
I agree that Ctrl+W should be Cut rather than Remove in the Emacs keymap, but as far as I know Ctrl-D is "delete one character from the right", so shouldn't it rather be mapped to Delete as in the main keymap, if at all? Also, I think that Ctrl-H should be added to Backspace while we are at it. |
|
Replying to zaytsev:
Yes, you are right. I mapped it to ctrl-d because I just don't understand how keymaps works in mc.
It seems like Delete is already doing deletion, however looking at the C code there is a difference between Remove and Delete, but I do not understand what is that difference.)
In emacs the C-h is for help, but I'm not against it as it will be consistent with the readline. (and looks like C-h is already doing backspace) |
Replying to Bad_ptr: |
|
|
|
|
|
|
|
Important
This issue was migrated from Trac:
Bad_ptr
(@Bad-ptr)keymap
It will be more consistent with emacs if the ctrl-w was mapped to cut(currently it is mapped to remove for mc dialogs).
The text was updated successfully, but these errors were encountered: