From 6ab98f8bf87f84a8aed49b659c8aa074c70d6161 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 28 Jul 2017 20:12:53 +0200 Subject: [PATCH] Fix grep-jump on eol --- rc/core/grep.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/grep.kak b/rc/core/grep.kak index 414b9bdb..8c043077 100644 --- a/rc/core/grep.kak +++ b/rc/core/grep.kak @@ -49,7 +49,7 @@ decl -docstring "name of the client in which all source code jumps will be execu def -hidden grep-jump %{ eval -collapse-jumps %{ try %{ - exec 'xs^((?:\w:)?[^:]+):(\d+):(\d+)?' + exec 's^((?:\w:)?[^:]+):(\d+):(\d+)?' set buffer grep_current_line %val{cursor_line} eval -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3} try %{ focus %opt{jumpclient} }