AutoYADM commit: 2025-06-23 15:40:15

This commit is contained in:
Daniel Fichtinger 2025-06-23 15:40:15 -04:00
parent ff3123298a
commit 3ff1a14b11
2 changed files with 8 additions and 3 deletions

View file

@ -22,7 +22,11 @@ provide-module expand %—
echo 'execute-keys "H<a-;>L<a-;>"'
fi
else
echo 'nop' #single cursor do nothing
if [ "$1" = 'expand' ]; then
echo 'execute-keys "L<a-;>H<a-;>"'
else
echo 'nop'
fi
fi
}
}
@ -32,6 +36,6 @@ provide-module expand %—
define-command shrink-selections %{
expand-impl shrink
}
map global object <a-e> ': expand-selections<ret>'
map global object <a-s> ': shrink-selections<ret>'
map global object <a-e> '<esc>: expand-selections<ret>' -docstring 'expand selections'
map global object <a-s> '<esc>: shrink-selections<ret>' -docstring 'shrink selections'

View file

@ -93,6 +93,7 @@ try %{
}
require-module surround
require-module expand
require-module ficgrep
require-module byline
require-module spell