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)
|
||||
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;
|
||||
|
|
Reference in a new issue