From 370693afd8d0f640637bf7f9bbf8e91d307d9416 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 26 Sep 2019 20:30:38 +1000 Subject: [PATCH] Do not autoscroll on grep results Closes #3100 --- 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 33d5be38..b75781e1 100644 --- a/rc/tools/grep.kak +++ b/rc/tools/grep.kak @@ -17,7 +17,7 @@ All the optional arguments are forwarded to the grep utility} \ fi printf %s\\n "evaluate-commands -try-client '$kak_opt_toolsclient' %{ - edit! -fifo ${output} -scroll *grep* + edit! -fifo ${output} *grep* set-option buffer filetype grep set-option buffer grep_current_line 0 hook -always -once buffer BufCloseFifo .* %{ nop %sh{ rm -r $(dirname ${output}) } }