Add fuzzy finder

Add fzf as submodule.
Source it keybindings and completion files.
Adjust dotbot install config to pull fzf binary.
Add symlink to its binary.
This commit is contained in:
2020-08-04 02:54:05 +02:00
parent 074ea3382a
commit f5259b5505
6 changed files with 12 additions and 0 deletions

View File

@@ -131,6 +131,7 @@ comp-source "$ZSH_CONF/transfer.zsh"
comp-source "$ZSH_CONF/zsh-autosuggestions/zsh-autosuggestions.zsh"
comp-source "$ZSH_CONF/completion.zsh"
# comp-source "$ZSH_CONF/zsh-async/async.zsh"
comp-source "$ZSH_CONF/fzf/shell/completion.zsh"
# async_init
### syntax-highlight > history-substring > keys
# syntax highlighting

View File

@@ -88,3 +88,8 @@ zle -N ls-on-enter
bindkey "^M" ls-on-enter
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(ls-on-enter)
# Fuzzy finder bindings:
# ^T fzf-file-widget
# \ec (Alt-C) fzf-cd-widget
# ^R fzf-history-widget
comp-source "$ZSH_CONF/fzf/shell/key-bindings.zsh"