Fork 0
mirror of synced 2024-05-25 19:41:11 -04:00

fix(micro): remove DeleteWordLeft binding

Remove ctrl+backspace > DeleteWordLeft binding.

This is a good binding and I think it makes sense to have it as a default, however
during testing I have discovered that not all terminals present these keys to Micro
the same way. For example, in Xterm for some reason "OldBackspace" is the backspace
key and "Backspace" is ctrl+backspace, so unfortunately just pressing backspace invokes
DeleteWordLeft with the binding as committed.

In the case of Xterm, the correct way to bind ctrl+backspace to DeleteWordLeft would be
like this:

    "Backspace": "DeleteWordLeft",
    "OldBackspace": "Backspace"

In any case, it is probably best we do not set this by default and leave it up to the user
to decide if they would like to set this binding on their own.
This commit is contained in:
BluishHumility 2024-04-04 16:39:22 -04:00
parent 7734878323
commit d42fe80486
No known key found for this signature in database

View file

@ -1,3 +0,0 @@
"OldBackspace": "DeleteWordLeft"