kak-pager: fix scrolling to bottom
This commit is contained in:
parent
14880c66c1
commit
a0ef647449
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ f=$(cat)
|
||||||
if test $(tput lines) -lt $(printf "%s\n" "$f" | wc -l)
|
if test $(tput lines) -lt $(printf "%s\n" "$f" | wc -l)
|
||||||
then
|
then
|
||||||
printf "%s\n" "$f" | kak -e '
|
printf "%s\n" "$f" | kak -e '
|
||||||
|
exec <a-o>
|
||||||
map global normal q :q<ret>;
|
map global normal q :q<ret>;
|
||||||
rmhl global/number-lines;
|
rmhl global/number-lines;
|
||||||
set global scrolloff 10,0;
|
set global scrolloff 10,0;
|
||||||
|
|
Reference in a new issue