~crg/config

e088a0f5f661afddb5017fa06c46779374836acf — Charles Gould 1 year, 2 months ago c5e019d
fzf: set info to inline-right
1 files changed, 5 insertions(+), 2 deletions(-)

M fish/conf.d/fzf.fish
M fish/conf.d/fzf.fish => fish/conf.d/fzf.fish +5 -2
@@ 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..}' \