AutoYADM commit: 2025-05-16 16:59:01

This commit is contained in:
Daniel Fichtinger 2025-05-16 16:59:01 -04:00
parent 02c81dde28
commit 51ccc1e607
2 changed files with 33 additions and 33 deletions

View file

@ -0,0 +1,13 @@
declare-option -hidden int helix_up_line
define-command -hidden helix-up %{
set-option window helix_up_line %val{cursor_line}
execute-keys <c-u>
evaluate-commands %sh{
if [ "$kak_cursor_line" = "$kak_opt_helix_up_line" ]; then
echo "execute-keys gg"
else
echo "nop"
fi
}
}
map -docstring 'helix scroll up' global normal <c-u> ": helix-up<ret>"