fix(bindings): restore directory segment autosuggestion on ctrl-right #97

Merged
rootiest merged 2 commits from fix-autosuggestion-ctrl-right into main 2026-07-28 07:34:51 +00:00
Owner

Fish 4.0 changed the default binding for ctrl-right from forward-word/nextd-or-forward-word to forward-token. This prevents ctrl-right from accepting autosuggestions incrementally by directory segments (since forward-token processes the entire continuous path as a single token).

This PR rebinds ctrl-right and \e[1;5C to nextd-or-forward-word to restore the ability to fill in autosuggestions one directory at a time.

  • Verify Ctrl+Right accepts autosuggestion up to the next / when typing a path.
Fish 4.0 changed the default binding for `ctrl-right` from `forward-word`/`nextd-or-forward-word` to `forward-token`. This prevents `ctrl-right` from accepting autosuggestions incrementally by directory segments (since `forward-token` processes the entire continuous path as a single token). This PR rebinds `ctrl-right` and `\e[1;5C` to `nextd-or-forward-word` to restore the ability to fill in autosuggestions one directory at a time. - [ ] Verify `Ctrl+Right` accepts autosuggestion up to the next `/` when typing a path.
rootiest added 1 commit 2026-07-28 07:30:22 +00:00
rootiest added 1 commit 2026-07-28 07:34:07 +00:00
rootiest merged commit 84c6e9b79d into main 2026-07-28 07:34:51 +00:00
rootiest deleted branch fix-autosuggestion-ctrl-right 2026-07-28 07:34:55 +00:00
Sign in to join this conversation.