diff --git a/rc/grep.kak b/rc/grep.kak index eb91b667..36a497e3 100644 --- a/rc/grep.kak +++ b/rc/grep.kak @@ -49,6 +49,7 @@ def grep-next -docstring 'Jump to next grep match' %{ exec "%opt{_grep_current_line}g/^[^:]+:\d+:" grep-jump } + try %{ eval -client %opt{toolsclient} %{ exec %opt{_grep_current_line}g } } } def grep-prev -docstring 'Jump to previous grep match' %{ @@ -57,4 +58,5 @@ def grep-prev -docstring 'Jump to previous grep match' %{ exec "%opt{_grep_current_line}g^[^:]+:\d+:" grep-jump } + try %{ eval -client %opt{toolsclient} %{ exec %opt{_grep_current_line}g } } } diff --git a/rc/make.kak b/rc/make.kak index 995f7748..c4122326 100644 --- a/rc/make.kak +++ b/rc/make.kak @@ -52,6 +52,7 @@ def make-next -docstring 'Jump to next error' %{ exec "%opt{_make_current_error_line}g/[0-9]+: (?:fatal )?error:" make-jump } + try %{ eval -client %opt{toolsclient} %{ exec %opt{_make_current_error_line}g } } } def make-prev -docstring 'Jump to previous error' %{ @@ -60,4 +61,5 @@ def make-prev -docstring 'Jump to previous error' %{ exec "%opt{_make_current_error_line}g[0-9]+: (?:fatal )?error:" make-jump } + try %{ eval -client %opt{toolsclient} %{ exec %opt{_make_current_error_line}g } } }