diff --git a/rc/grep.kak b/rc/grep.kak index 15a70332..5b1466d8 100644 --- a/rc/grep.kak +++ b/rc/grep.kak @@ -27,7 +27,7 @@ hook global WinSetOption filetype=grep %{ addhl group grep addhl -group grep regex "^((?:\w:)?[^:]+):(\d+):(\d+)?" 1:cyan 2:green 3:green addhl -group grep line %{%opt{_grep_current_line}} default+b - hook buffer -group grep-hooks NormalKey jump + hook buffer -group grep-hooks NormalKey grep-jump } hook global WinSetOption filetype=(?!grep).* %{ rmhl grep; rmhooks buffer grep-hooks }