diff --git a/.config/kak/autoload/filetype.kak b/.config/kak/autoload/filetype.kak index 36079e0b..62590097 100644 --- a/.config/kak/autoload/filetype.kak +++ b/.config/kak/autoload/filetype.kak @@ -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" } }