mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-07-16 22:16:11 +08:00
Merge branch 'master' into termux
This commit is contained in:
commit
ea3b6bc4e5
1 changed files with 7 additions and 5 deletions
|
|
@ -173,11 +173,13 @@ scroll-and-clear-screen() {
|
||||||
bindkey '^l' scroll-and-clear-screen
|
bindkey '^l' scroll-and-clear-screen
|
||||||
|
|
||||||
# fzf
|
# fzf
|
||||||
[[ -f ${_SRC_FZF_KEYBIND} ]] && source ${_SRC_FZF_KEYBIND}
|
if [[ -f ${_SRC_FZF_KEYBIND} ]]; then
|
||||||
# 替换默认的fzf widget
|
source ${_SRC_FZF_KEYBIND}
|
||||||
bindkey '^T' fzf-completion
|
# 替换默认的fzf widget
|
||||||
# 恢复TAB键的行为
|
bindkey '^T' fzf-completion
|
||||||
bindkey '^I' $fzf_default_completion
|
# 恢复TAB键的行为
|
||||||
|
bindkey '^I' $fzf_default_completion
|
||||||
|
fi
|
||||||
|
|
||||||
# 让 / 作为分隔符
|
# 让 / 作为分隔符
|
||||||
# 默认 WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
|
# 默认 WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue