diff --git a/home/.config/fish/config.fish b/home/.config/fish/config.fish index 89853b5..deaa99c 100644 --- a/home/.config/fish/config.fish +++ b/home/.config/fish/config.fish @@ -22,7 +22,7 @@ function __prepend_sudo end end -bind \e\e __prepend_sudo +bind escape,escape __prepend_sudo # Fish 4.0+ 语法:双击 Escape 添加 sudo bind ctrl-space accept-autosuggestion # Fish 4.0+ 语法 set -gx FZF_DEFAULT_OPTS '--height=50% --layout=reverse --border --preview-window=right:60%'