From a775f45aa1047ac6aa9415cca8513f31908713ee Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 21 May 2025 03:48:39 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-21 03:48:39 --- .config/kak/autoload/filetype.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } }