From af434f38cf7e0f1697f6606562895c85f801f675 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 14 Nov 2025 07:35:15 +0100 Subject: [PATCH] Make word-token delete bindings sane again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Word deletion used to be Ctrl-Backspace, now it’s Alt-Backspace. However, deleting muscle memory is something i don’t want to deal with now. --- conf.d/bindings.fish | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conf.d/bindings.fish diff --git a/conf.d/bindings.fish b/conf.d/bindings.fish new file mode 100644 index 0000000..c5947cc --- /dev/null +++ b/conf.d/bindings.fish @@ -0,0 +1,7 @@ +# Swap Ctrl and Alt behaviour for backspace and delete +# +# These have changed in fish 4.0, but muscle memory is hard to erase +bind ctrl-backspace backward-kill-token +bind alt-backspace backward-kill-word +bind ctrl-delete kill-token +bind alt-delete kill-word