From 926e628a36fb57ec029d92817cec9a1d91885bd9 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Sun, 2 Aug 2015 11:25:06 +0300 Subject: [PATCH] Prevent the hook from wrapping the next line when the cursor is at the end of the current line --- rc/autowrap.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/autowrap.kak b/rc/autowrap.kak index 17d11da1..0ea42e6e 100644 --- a/rc/autowrap.kak +++ b/rc/autowrap.kak @@ -23,7 +23,7 @@ def autowrap-selection %{ def autowrap-enable %{ hook -group autowrap window InsertChar [^\n] %{ try %{ - exec -draft "x:autowrap-selection" + exec -draft ":autowrap-selection" } } }