fzf: highlight selected line
This commit is contained in:
parent
db95163d60
commit
96be2560c3
@ -16,6 +16,7 @@ function __fzf_files
|
|||||||
--ansi \
|
--ansi \
|
||||||
--info=inline-right \
|
--info=inline-right \
|
||||||
--scheme=path \
|
--scheme=path \
|
||||||
|
--highlight-line \
|
||||||
--preview='bat --style=numbers --color=always {}' \
|
--preview='bat --style=numbers --color=always {}' \
|
||||||
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
||||||
--bind='?:toggle-preview' \
|
--bind='?:toggle-preview' \
|
||||||
@ -47,6 +48,7 @@ function __fzf_git_log
|
|||||||
--ansi \
|
--ansi \
|
||||||
--info=inline-right \
|
--info=inline-right \
|
||||||
--scheme=history \
|
--scheme=history \
|
||||||
|
--highlight-line \
|
||||||
--preview="git show {2} $argv | delta" \
|
--preview="git show {2} $argv | delta" \
|
||||||
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
||||||
--bind='?:toggle-preview' \
|
--bind='?:toggle-preview' \
|
||||||
@ -69,6 +71,7 @@ function __fzf_history
|
|||||||
--read0 \
|
--read0 \
|
||||||
--info=inline-right \
|
--info=inline-right \
|
||||||
--scheme=history \
|
--scheme=history \
|
||||||
|
--highlight-line \
|
||||||
--query=(commandline) \
|
--query=(commandline) \
|
||||||
--preview='echo {3..}' \
|
--preview='echo {3..}' \
|
||||||
--preview-window='down,10,wrap,hidden' \
|
--preview-window='down,10,wrap,hidden' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user