fzf: set scoring schemes
This commit is contained in:
parent
4febb79d7f
commit
ba1ac41f60
@ -15,6 +15,7 @@ function __fzf_files
|
||||
fzf \
|
||||
--ansi \
|
||||
--info=inline-right \
|
||||
--scheme=path \
|
||||
--preview='bat --style=numbers --color=always {}' \
|
||||
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
||||
--bind='?:toggle-preview' \
|
||||
@ -45,7 +46,7 @@ function __fzf_git_log
|
||||
fzf \
|
||||
--ansi \
|
||||
--info=inline-right \
|
||||
--tiebreak=index \
|
||||
--scheme=history \
|
||||
--preview="git show {2} $argv | delta" \
|
||||
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
|
||||
--bind='?:toggle-preview' \
|
||||
@ -67,7 +68,7 @@ function __fzf_history
|
||||
fzf \
|
||||
--read0 \
|
||||
--info=inline-right \
|
||||
--tiebreak=index \
|
||||
--scheme=history \
|
||||
--query=(commandline) \
|
||||
--preview='echo {3..}' \
|
||||
--preview-window='down,10,wrap,hidden' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user