nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 05990dc9e5f4c6ade39d0dc273a055960f36e4e1
parent fb6e7403cf3c1482c8a5ad12e7cfed5e978127cd
Author: Luuk van Baal <luukvbaal@gmail.com>
Date:   Wed, 14 Jun 2023 09:24:23 +0200

Preview-tui add -C to NNN_PAGER

This makes it so that when the paged text is fewer lines than the preview pane, it is placed at the top instead of at the bottom

Diffstat:
Mplugins/preview-tui | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -99,7 +99,7 @@ ENVVARS=( "NNN_SCOPE=${NNN_SCOPE:-0}" "NNN_PISTOL=${NNN_PISTOL:-0}" "NNN_ICONLOOKUP=${NNN_ICONLOOKUP:-0}" - "NNN_PAGER=${NNN_PAGER:-less -P?n -R}" + "NNN_PAGER=${NNN_PAGER:-less -P?n -R -C}" "NNN_BATTHEME=${NNN_BATTHEME:-ansi}" "NNN_BATSTYLE=${NNN_BATSTYLE:-numbers}" "NNN_PREVIEWWIDTH=${NNN_PREVIEWWIDTH:-1920}"