mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-27 07:15:00 +08:00
bat -> ccat
This commit is contained in:
parent
e097452055
commit
427b09c2d7
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ zle -N zle-keymap-select
|
|||
KEYTIMEOUT=1
|
||||
|
||||
# fzf
|
||||
export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (bat --style=numbers --color=always {} || highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500"'
|
||||
export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500"'
|
||||
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
|
||||
export FZF_COMPLETION_TRIGGER='\'
|
||||
export FZF_TMUX_HEIGHT='80%'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue