AutoYADM commit: 2025-05-22 00:23:53

This commit is contained in:
Daniel Fichtinger 2025-05-22 00:23:53 -04:00
parent 75653fba8c
commit a7a29b4794

View file

@ -6,14 +6,18 @@ declare-option str hop_kak_keyset 'tnserigmaodhc,x.plfuwyqz'
map global normal <a-%> ':execute-keys gtGbx<ret>' map global normal <a-%> ':execute-keys gtGbx<ret>'
define-command hop-kak %{ define-command hop-kak %{
eval "ui-scrolloff-disable"
evaluate-commands -no-hooks -- %sh{ evaluate-commands -no-hooks -- %sh{
hop-kak --keyset "$kak_opt_hop_kak_keyset" --sels "$kak_selections_desc" hop-kak --keyset "$kak_opt_hop_kak_keyset" --sels "$kak_selections_desc"
} }
eval "ui-scrolloff-enable"
} }
# TODO: fix the broken interaction with scrolloff # TODO: fix the broken interaction with scrolloff
define-command -override hop-kak-words %{ define-command -override hop-kak-words %{
eval "ui-scrolloff-disable"
try %{ ui-wrap-disable }
# set-option window scrolloff 0,0
execute-keys 'gtGbxs\w+<ret>: hop-kak<ret>' execute-keys 'gtGbxs\w+<ret>: hop-kak<ret>'
info done
# set-option window scrolloff 99,0
# eval "ui-scrolloff-enable"
} }