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
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -59,6 +59,8 @@ function fish_user_key_bindings
type -q qalc && bind ctrl-alt-= _qalc_eval
bind ctrl-enter _smart_execute
bind @@ __fzf_inline_picker
bind ctrl-right nextd-or-forward-word
bind \e\[1\;5C nextd-or-forward-word
# Set bindings for all Vi modes:
# 'default' is Vi-Command, 'insert' is Vi-Insert, 'visual' is Vi-Visual
@@ -69,5 +71,7 @@ function fish_user_key_bindings
type -q qalc && bind --mode $mode ctrl-alt-= _qalc_eval
bind --mode $mode ctrl-enter _smart_execute
bind --mode $mode @@ __fzf_inline_picker
bind --mode $mode ctrl-right nextd-or-forward-word
bind --mode $mode \e\[1\;5C nextd-or-forward-word
end
end
+4
View File
@@ -342,6 +342,10 @@ are active in Insert, Normal, and Visual modes unless noted.
line to open an fzf picker and insert a selection
at the cursor position.
Ctrl+Right Accept autosuggestion one word/directory segment
at a time. (Restores Fish 3.x behavior by binding
to nextd-or-forward-word).
## FZF Bindings (bundled from PatrickF1/fzf.fish)
Ctrl+R Search command history
+4
View File
@@ -46,6 +46,10 @@ are active in Insert, Normal, and Visual modes unless noted.
line to open an fzf picker and insert a selection
at the cursor position.
Ctrl+Right Accept autosuggestion one word/directory segment
at a time. (Restores Fish 3.x behavior by binding
to nextd-or-forward-word).
## FZF Bindings (bundled from PatrickF1/fzf.fish)
Ctrl+R Search command history