fzf: highlight selected line

This commit is contained in:
Charles Gould 2024-10-02 13:05:37 -05:00
parent db95163d60
commit 96be2560c3

View File

@ -16,6 +16,7 @@ function __fzf_files
--ansi \
--info=inline-right \
--scheme=path \
--highlight-line \
--preview='bat --style=numbers --color=always {}' \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
@ -47,6 +48,7 @@ function __fzf_git_log
--ansi \
--info=inline-right \
--scheme=history \
--highlight-line \
--preview="git show {2} $argv | delta" \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
@ -69,6 +71,7 @@ function __fzf_history
--read0 \
--info=inline-right \
--scheme=history \
--highlight-line \
--query=(commandline) \
--preview='echo {3..}' \
--preview-window='down,10,wrap,hidden' \