AutoYADM commit: 2025-05-22 00:54:40

This commit is contained in:
Daniel Fichtinger 2025-05-22 00:54:40 -04:00
parent 346f4663c2
commit c2da6b6096
2 changed files with 114 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# https://git.sr.ht/~hadronized/hop.kak
evaluate-commands %sh{ hop-kak --init }
declare-option str hop_kak_keyset 'tnserigmaodhcxplfuwyqz'
@ -12,7 +13,6 @@ define-command hop-kak %{
}
# TODO: fix the broken interaction with scrolloff
define-command -override hop-kak-words %{
eval "ui-scrolloff-disable"
try %{ ui-wrap-disable }
@ -26,3 +26,14 @@ define-command -override hop-kak-words %{
}
execute-keys 'gtGbxs\w+<ret>: hop-kak<ret>'
}
declare-user-mode hop
map -docstring %{
Filter visible words
} global hop w ': hop-kak-words<ret>'
map -docstring %{
Filter selection
} global hop s ': hop-kak<ret>'
map -docstring %{
Hop filter mode
} global normal <ret> ': enter-user-mode hop<ret>'