AutoYADM commit: 2025-05-16 16:59:01
This commit is contained in:
parent
02c81dde28
commit
51ccc1e607
2 changed files with 33 additions and 33 deletions
13
.config/kak/autoload/helix-scroll.kak
Normal file
13
.config/kak/autoload/helix-scroll.kak
Normal 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>"
|
Loading…
Add table
Add a link
Reference in a new issue