Skip to content

Commit

Permalink
fish: config.fish: Use bind to revert fish 4.0 changes to keybindings
Browse files Browse the repository at this point in the history
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 <nathan@kernel.org>
  • Loading branch information
nathanchance committed Dec 24, 2024
1 parent 8adc1d0 commit de35557
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit de35557

Please sign in to comment.