Skip to content

Commit

Permalink
Add workaround for zsh autosuggestion bug: zsh-users/zsh-autosuggesti…
Browse files Browse the repository at this point in the history
  • Loading branch information
quicknir committed Nov 29, 2024
1 parent 882f162 commit 78eff06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh/zdotdir/fzf.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function {
local fzf_base_args="-e ${fzf_colors} --bind=ctrl-l:accept --bind=ctrl-z:ignore"

# The 40% height is only used outside of tmux, so it's not very important
export FZF_DEFAULT_OPTS="${fzf_base_args} --ansi --layout default --height 40% --tmux 62%,38%"
export FZF_DEFAULT_OPTS="${fzf_base_args} --ansi --layout default --height 40% --tmux 62%,38% --exit-0"

zstyle ':fzf-tab:*' group-colors \
$'\033[34m' $'\033[31m' $'\033[32m' $'\033[35m' $'\033[36m' $'\033[33m' $'\033[95m' $'\033[91m' $'\033[93m'
Expand Down Expand Up @@ -113,4 +113,4 @@ zle -N fzf-history-widget
# --preview-window 'up,60%,border-bottom,+{2}+3/3,~3'
# }
# zle -N fzf-rg-widget
# bindkey '^S' fzf-rg-widget
# bindkey '^S' fzf-rg-widget

0 comments on commit 78eff06

Please sign in to comment.