From b376e3b6629fb824669a2e574e15d3d0fc28cb52 Mon Sep 17 00:00:00 2001 From: Olivier Perret Date: Mon, 30 Sep 2019 23:53:36 +0200 Subject: [PATCH] grep: fix for filenames containg spaces --- rc/tools/grep.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/grep.kak b/rc/tools/grep.kak index 33d5be387..c3a5a8ec5 100644 --- a/rc/tools/grep.kak +++ b/rc/tools/grep.kak @@ -44,7 +44,7 @@ define-command -hidden grep-jump %{ try %{ execute-keys 's^((?:\w:)?[^:]+):(\d+):(\d+)?' set-option buffer grep_current_line %val{cursor_line} - evaluate-commands -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3} + evaluate-commands -try-client %opt{jumpclient} %{ edit -existing %reg{1} %reg{2} %reg{3} } try %{ focus %opt{jumpclient} } } }