You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"When selecting files with fzf, we show file content with syntax highlighting, or without highlighting if it's not a source file. If the file is a directory, we use tree to show the directory's contents. We only load the first 200 lines of the file which enables fast previews of large text files. Requires highlight and tree: pacman -S highlight tree"
"--ansi tells fzf to extract and parse ANSI color codes in the input and it makes the initial scanning slower. So it's not recommended that you add it to your $FZF_DEFAULT_OPTS."
Try this:
export FZF_DEFAULT_OPTS="--ansi --preview '(highlight -O ansi -l {} 2>/dev/null || cat {} || tree -C {}) 2>/dev/null | head -200'"
... note the --ansi before --preview ...
export FZF_DEFAULT_OPTS="--preview '(highlight -O ansi {} 2>/dev/null || cat {} || tree -C {}) 2>/dev/null | head -200'"
export FZF_DEFAULT_OPTS="--ansi --preview '(highlight -O ansi {} 2>/dev/null || cat {} || tree -C {}) 2>/dev/null | head -200'"
Directory names and file names appear garbled when using neovim master with FZF (floating window or not)
Any fix on the fzf side or is it a neovim issue?
The text was updated successfully, but these errors were encountered: