Compare commits

...

2 Commits

Author SHA1 Message Date
pull[bot]
e6f6aba8b2
Merge 93c0299606 into a30181e240 2025-01-09 10:16:29 +00:00
Kid
93c0299606
[fish] remove defunct bind feature detection (#4165) 2025-01-09 19:16:24 +09:00

View File

@ -133,14 +133,12 @@ function fzf_key_bindings
bind \ec fzf-cd-widget bind \ec fzf-cd-widget
end end
if bind -M insert &> /dev/null bind -M insert \cr fzf-history-widget
bind -M insert \cr fzf-history-widget if not set -q FZF_CTRL_T_COMMAND; or test -n "$FZF_CTRL_T_COMMAND"
if not set -q FZF_CTRL_T_COMMAND; or test -n "$FZF_CTRL_T_COMMAND" bind -M insert \ct fzf-file-widget
bind -M insert \ct fzf-file-widget end
end if not set -q FZF_ALT_C_COMMAND; or test -n "$FZF_ALT_C_COMMAND"
if not set -q FZF_ALT_C_COMMAND; or test -n "$FZF_ALT_C_COMMAND" bind -M insert \ec fzf-cd-widget
bind -M insert \ec fzf-cd-widget
end
end end
function __fzf_parse_commandline -d 'Parse the current command line token and return split of existing filepath, fzf query, and optional -option= prefix' function __fzf_parse_commandline -d 'Parse the current command line token and return split of existing filepath, fzf query, and optional -option= prefix'