diff --git a/.config/kak/autoload/expand.kak b/.config/kak/autoload/expand.kak index 1bc54ec9..93a37c9f 100644 --- a/.config/kak/autoload/expand.kak +++ b/.config/kak/autoload/expand.kak @@ -22,7 +22,11 @@ provide-module expand %— echo 'execute-keys "HL"' fi else - echo 'nop' #single cursor do nothing + if [ "$1" = 'expand' ]; then + echo 'execute-keys "LH"' + else + echo 'nop' + fi fi } } @@ -32,6 +36,6 @@ provide-module expand %— define-command shrink-selections %{ expand-impl shrink } - map global object ': expand-selections' - map global object ': shrink-selections' + map global object ': expand-selections' -docstring 'expand selections' + map global object ': shrink-selections' -docstring 'shrink selections' — diff --git a/.config/kak/kakrc b/.config/kak/kakrc index bba95fe4..099c25f9 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -93,6 +93,7 @@ try %{ } require-module surround +require-module expand require-module ficgrep require-module byline require-module spell