From d42fe80486e803f09d3d59eef4643907b48b05cd Mon Sep 17 00:00:00 2001 From: BluishHumility Date: Thu, 4 Apr 2024 16:39:22 -0400 Subject: [PATCH] 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. --- etc/skel/.config/micro/bindings.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 etc/skel/.config/micro/bindings.json diff --git a/etc/skel/.config/micro/bindings.json b/etc/skel/.config/micro/bindings.json deleted file mode 100644 index 10dc408..0000000 --- a/etc/skel/.config/micro/bindings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "OldBackspace": "DeleteWordLeft" -}