tweaking preview window

This commit is contained in:
Radar231 2022-02-01 15:17:17 -05:00
parent 9349d53b9c
commit 2f28c444f5
1 changed files with 2 additions and 2 deletions

4
zn
View File

@ -90,7 +90,7 @@ main() {
# Run against titles
FZF_DEFAULT_COMMAND="zn-title-list.sh" \
fzf --no-sort --height=100% --preview-window=right:60%:wrap \
fzf --no-sort --height=100% --preview-window=right:65%:wrap \
--preview 'bat --language=md --style=plain --color=always $(rg -slF {2..})' \
--bind 'enter:execute:$EDITOR $(rg -slF {2..})' \
--bind 'ctrl-r:reload:$SHELL -c "${FZF_DEFAULT_COMMAND}"' \
@ -101,7 +101,7 @@ main() {
# Run against tags
FZF_DEFAULT_COMMAND="zn-tag-list.sh" \
fzf --no-sort --exact --height=100% --preview-window=right:60%:wrap \
fzf --no-sort --exact --height=100% --preview-window=right:65%:wrap \
--preview 'bat --language=md --style=plain --color=always $(rg -slF {3..})' \
--bind 'enter:execute:$EDITOR $(rg -slF {3..})' \
--bind 'ctrl-r:reload:$SHELL -c "${FZF_DEFAULT_COMMAND}"' \