Mercurial > dotfiles
diff dot_zshrc @ 709:0a59c00d64d9
feat: add fzf-tab plugin
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 26 Oct 2022 20:20:52 +0200 |
parents | b3c74bd6e485 |
children | 8dcfa2682a75 |
line wrap: on
line diff
--- a/dot_zshrc Wed Oct 26 20:09:53 2022 +0200 +++ b/dot_zshrc Wed Oct 26 20:20:52 2022 +0200 @@ -249,6 +249,13 @@ export GPG_TTY=$(tty) +autoload -U compinit + +for dump in ~/.zcompdump(N.mh+24); do + compinit +done +compinit -C + [ -f ~/.zshrc.local ] && source ~/.zshrc.local source $HOME/.asdf/asdf.sh @@ -262,6 +269,10 @@ export SUDO_EDITOR=$(which nvim) eval "$(direnv hook zsh)" +zstyle ':completion:*:descriptions' format '[%d]' +zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup +zsh-defer source ~/.zsh/fzf-tab/fzf-tab.plugin.zsh + zsh-defer source ~/.zsh/zsh-history-substring-search.zsh export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=cyan,fg=white' @@ -325,13 +336,6 @@ ZSH_AUTOSUGGEST_STRATEGY=histdb_top_here -autoload -U compinit - -for dump in ~/.zcompdump(N.mh+24); do - compinit -done -compinit -C - if [ ${TMUX} ]; then unset zle_bracketed_paste fi