kak-pager: fix scrolling to bottom

This commit is contained in:
lelgenio 2021-05-21 01:25:28 -03:00
parent 14880c66c1
commit a0ef647449
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ f=$(cat)
if test $(tput lines) -lt $(printf "%s\n" "$f" | wc -l)
then
printf "%s\n" "$f" | kak -e '
exec <a-o>
map global normal q :q<ret>;
rmhl global/number-lines;
set global scrolloff 10,0;