junegunn / fzf-git.sh

bash and zsh key bindings for Git objects, powered by fzf
612 stars 53 forks source link

invalid preview window option: right,50%,border-left #12

Closed tigerinus closed 2 years ago

tigerinus commented 2 years ago

image

after sourcing, hitting shortcut keys gives me:

invalid preview window option: right,50%,border-left

Here is all settings related to fzf:

$ cat ~/.config/bash.d/fzf.bash
# Setup fzf
# ---------
if [[ ! "$PATH" == *$HOME/.local/fzf/bin* ]]; then
  export PATH="${PATH:+${PATH}:}$HOME/.local/fzf/bin"
  export FZF_DEFAULT_COMMAND="rg --files"
  export FZF_DEFAULT_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {} 2>/dev/null'"
fi

# Auto-completion
# ---------------
[[ $- == *i* ]] && source "$HOME/.local/fzf/shell/completion.bash" 2> /dev/null

# Key bindings
# ------------
source "$HOME/.local/fzf/shell/key-bindings.bash"
tigerinus commented 2 years ago

nevermind - re-installed latest binary and issue is gone.