@@ 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..}' \