AutoYADM commit: 2025-05-16 16:12:53

This commit is contained in:
Daniel Fichtinger 2025-05-16 16:12:53 -04:00
parent f588d4552e
commit 80bb153817

View file

@ -165,3 +165,18 @@ hook global InsertCompletionShow .* %{
map -docstring 'Select to file end' global user N "Gj<a-L>L"
map -docstring 'Extend to file end' global user n "gj<a-l>l"
declare-option -hidden int helix_up_line
define-command -hidden helix-up %{
set-option 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>"