AutoYADM commit: 2025-05-21 03:48:39
This commit is contained in:
parent
f9d20cf2c4
commit
a775f45aa1
1 changed files with 1 additions and 1 deletions
|
@ -46,10 +46,10 @@ hook global WinSetOption filetype=man %{
|
||||||
# in WinSetOption's context
|
# in WinSetOption's context
|
||||||
hook -once global User manpageloaded %{
|
hook -once global User manpageloaded %{
|
||||||
# This will move the cursor to the enter of the screen
|
# This will move the cursor to the enter of the screen
|
||||||
|
set-option window scrolloff "99,0"
|
||||||
execute-keys %sh{
|
execute-keys %sh{
|
||||||
result=$((kak_window_height / 2 - 1))
|
result=$((kak_window_height / 2 - 1))
|
||||||
printf '%d%s' "$result" 'j'
|
printf '%d%s' "$result" 'j'
|
||||||
}
|
}
|
||||||
set-option window scrolloff "99,0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue