fix(fish): 修复 Ctrl+Space 绑定的语法错误,将 \c@ 替换为 ctrl-space
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user