From de355572cd32096d937345a892aed987207c5888 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Mon, 23 Dec 2024 21:42:07 -0700 Subject: [PATCH] fish: config.fish: Use bind to revert fish 4.0 changes to keybindings I prefer to move around with this granularity, I do not mind a few more key presses for increased accuracy in deletion. Signed-off-by: Nathan Chancellor --- fish/config.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fish/config.fish b/fish/config.fish index 85ec23f7..5c90a4a5 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -65,5 +65,10 @@ if test -d $CARGO_HOME/bin fish_add_path -ag $CARGO_HOME/bin end +# Undo fish 4.0 change to keybindings +bind alt-backspace backward-kill-word +bind alt-left backward-word +bind alt-right forward-word + # Make sure that sourcing config.fish always returns 0 true