AutoYADM commit: 2025-05-21 03:48:39

This commit is contained in:
Daniel Fichtinger 2025-05-21 03:48:39 -04:00
parent f9d20cf2c4
commit a775f45aa1

View file

@ -46,10 +46,10 @@ hook global WinSetOption filetype=man %{
# in WinSetOption's context
hook -once global User manpageloaded %{
# This will move the cursor to the enter of the screen
set-option window scrolloff "99,0"
execute-keys %sh{
result=$((kak_window_height / 2 - 1))
printf '%d%s' "$result" 'j'
}
set-option window scrolloff "99,0"
}
}