AutoYADM commit: 2025-05-22 00:23:53
This commit is contained in:
parent
75653fba8c
commit
a7a29b4794
1 changed files with 6 additions and 2 deletions
|
@ -6,14 +6,18 @@ declare-option str hop_kak_keyset 'tnserigmaodhc,x.plfuwyqz'
|
|||
map global normal <a-%> ':execute-keys gtGbx<ret>'
|
||||
|
||||
define-command hop-kak %{
|
||||
eval "ui-scrolloff-disable"
|
||||
evaluate-commands -no-hooks -- %sh{
|
||||
hop-kak --keyset "$kak_opt_hop_kak_keyset" --sels "$kak_selections_desc"
|
||||
}
|
||||
eval "ui-scrolloff-enable"
|
||||
}
|
||||
|
||||
# TODO: fix the broken interaction with scrolloff
|
||||
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>'
|
||||
info done
|
||||
# set-option window scrolloff 99,0
|
||||
# eval "ui-scrolloff-enable"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue