From 9c222dd7dfd6577b335e51ff0582b452f8a96742 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 23 Jun 2025 14:30:15 -0400 Subject: [PATCH] AutoYADM commit: 2025-06-23 14:30:15 --- .config/kak/autoload/autowrap.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/kak/autoload/autowrap.kak b/.config/kak/autoload/autowrap.kak index f842ef8d..ccff280d 100644 --- a/.config/kak/autoload/autowrap.kak +++ b/.config/kak/autoload/autowrap.kak @@ -19,7 +19,7 @@ define-command -hidden autowrap-cursor %{ evaluate-commands -save-regs '/"|^@m' reg m "%val{selections_desc}" ## if we're adding characters past the limit, just wrap them around - execute-keys -draft ".{%opt{autowrap_column}}\h*[^\s]*1s(\h+)[^\h]*\zc" + execute-keys -draft ".{%opt{autowrap_column}}\h*[^\s]*1s(\h+)[^\h]*\zcghH" } catch %{ ## if we're adding characters in the middle of a sentence, use ## the `fmtcmd` command to wrap the entire paragraph