From e621814a786ee526d8270b72ff1a402487283520 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Thu, 3 Jul 2014 01:08:45 +0200 Subject: [PATCH] clean_around_selections: select full lines before filtering --- rc/fish.kak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc/fish.kak b/rc/fish.kak index 9f46516e..b03ca9ee 100644 --- a/rc/fish.kak +++ b/rc/fish.kak @@ -35,8 +35,9 @@ addhl -group /fish/code regex %sh{ printf '\<(%s)\>' $(printf '\Q%s\\E|' $(fish def -hidden _fish_clean_around_selections %{ eval -draft -itersel %{ + exec # trailing white spaces - try %{ exec -draft s \h+$ d } + try %{ exec -draft s \h+$ d } } }