AutoYADM commit: 2025-05-16 16:12:53
This commit is contained in:
parent
f588d4552e
commit
80bb153817
1 changed files with 15 additions and 0 deletions
|
@ -165,3 +165,18 @@ hook global InsertCompletionShow .* %{
|
||||||
map -docstring 'Select to file end' global user N "Gj<a-L>L"
|
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"
|
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>"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue