From 3ff1a14b115b35e62cbe60c9f0a516ac6adf037c Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 23 Jun 2025 15:40:15 -0400 Subject: [PATCH] AutoYADM commit: 2025-06-23 15:40:15 --- .config/kak/autoload/expand.kak | 10 +++++++--- .config/kak/kakrc | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) 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