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:
@@ -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
|
||||
|
||||
1
.config/zsh/plugins/fzf
Submodule
1
.config/zsh/plugins/fzf
Submodule
Submodule .config/zsh/plugins/fzf added at e2ae1b249c
@@ -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"
|
||||
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -40,3 +40,6 @@
|
||||
[submodule ".config/tmux/plugins/tmux-sensible"]
|
||||
path = .config/tmux/plugins/tmux-sensible
|
||||
url = https://github.com/tmux-plugins/tmux-sensible
|
||||
[submodule ".config/zsh/plugins/fzf"]
|
||||
path = .config/zsh/plugins/fzf
|
||||
url = git@github.com:junegunn/fzf
|
||||
|
||||
1
.local/bin/fzf
Symbolic link
1
.local/bin/fzf
Symbolic link
@@ -0,0 +1 @@
|
||||
../../.config/zsh/plugins/fzf/bin/fzf
|
||||
@@ -1,6 +1,7 @@
|
||||
- shell:
|
||||
- git submodule update --init --recursive --jobs 8
|
||||
- /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null || { tar czvf "existing-$(date +"%s").tar.gz" "$tmpd" && rm -rf "$tmpd"; }'
|
||||
- .config/zsh/plugins/fzf/install --bin
|
||||
- link:
|
||||
~/.Xresources:
|
||||
.Xresources
|
||||
|
||||
Reference in New Issue
Block a user