diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-30 17:15:12 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-30 17:15:12 +0100 |
commit | 60c6aedf31221118d9678de1161a1116179ed8a8 (patch) | |
tree | f7e75e53668da249b1ed3df60557e00aa6d1ad44 | |
parent | b42cf9ae25d2a379d513360ca34c7419cf131ce1 (diff) |
Adds pages and bat colouring to fzf preview
Diffstat (limited to '')
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ export RANGER_LOAD_DEFAULT_RC="FALSE" export FZF_DEFAULT_COMMAND='ag -l --path-to-ignore ~/.ignore --nocolor --hidden -g ""' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND" -export FZF_DEFAULT_OPTS="--color info:108,prompt:109,spinner:108,pointer:168,marker:168" +export FZF_DEFAULT_OPTS="--preview='bat --color=always {}' --bind shift-up:preview-page-up,shift-down:preview-page-down --color info:108,prompt:109,spinner:108,pointer:168,marker:168" # fzf source /usr/share/fzf/key-bindings.bash |