fzf: set info to inline-right

This commit is contained in:
Charles Gould 2023-07-06 21:52:16 -04:00
parent c5e019dcc2
commit e088a0f5f6

View File

@ -14,8 +14,9 @@ function __fzf_files
2>/dev/null |
fzf \
--ansi \
--info=inline-right \
--preview='bat --style=numbers --color=always {}' \
--preview-window='right,70%,wrap,hidden,<200(bottom,50%,hidden)' \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
--expect='ctrl-e' \
--header='ctrl-e to edit, ? to preview'
@ -42,9 +43,10 @@ function __fzf_git_log
git logsearch $argv |
fzf \
--ansi \
--info=inline-right \
--tiebreak=index \
--preview="git show {2} $argv | delta" \
--preview-window='right,70%,wrap,hidden,<200(bottom,50%,hidden)' \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
--header='? to preview'
)
@ -63,6 +65,7 @@ function __fzf_history
--show-time="%Y-%m-%d$separator" |
fzf \
--read0 \
--info=inline-right \
--tiebreak=index \
--query=(commandline) \
--preview='echo {3..}' \