fix(fish): 修复 Ctrl+Space 绑定的语法错误,将 \c@ 替换为 ctrl-space

This commit is contained in:
2026-04-10 09:34:42 +08:00
parent 27d4c68f23
commit 3895221c48
+1 -1
View File
@@ -23,7 +23,7 @@ function __prepend_sudo
end end
bind \e\e __prepend_sudo bind \e\e __prepend_sudo
bind \c@ accept-autosuggestion bind ctrl-space accept-autosuggestion # Fish 4.0+ 语法
set -gx FZF_DEFAULT_OPTS '--height=50% --layout=reverse --border --preview-window=right:60%' set -gx FZF_DEFAULT_OPTS '--height=50% --layout=reverse --border --preview-window=right:60%'
set -gx FZF_DEFAULT_COMMAND 'fd --type f --hidden --follow --exclude .git' set -gx FZF_DEFAULT_COMMAND 'fd --type f --hidden --follow --exclude .git'