fix(bindings): restore directory segment autosuggestion on ctrl-right #97
Reference in New Issue
Block a user
Delete Branch "fix-autosuggestion-ctrl-right"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fish 4.0 changed the default binding for
ctrl-rightfromforward-word/nextd-or-forward-wordtoforward-token. This preventsctrl-rightfrom accepting autosuggestions incrementally by directory segments (sinceforward-tokenprocesses the entire continuous path as a single token).This PR rebinds
ctrl-rightand\e[1;5Ctonextd-or-forward-wordto restore the ability to fill in autosuggestions one directory at a time.Ctrl+Rightaccepts autosuggestion up to the next/when typing a path.