diff --git a/rc/core/grep.kak b/rc/core/grep.kak index e1cddf03..75e6ab49 100644 --- a/rc/core/grep.kak +++ b/rc/core/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 grep-jump + hook buffer -group grep-hooks NormalKey grep-jump } hook global WinSetOption filetype=(?!grep).* %{ rmhl grep; rmhooks buffer grep-hooks } diff --git a/rc/core/make.kak b/rc/core/make.kak index a08c9b1f..d9629ea7 100644 --- a/rc/core/make.kak +++ b/rc/core/make.kak @@ -24,7 +24,7 @@ addhl -group /make line %{%opt{_make_current_error_line}} default+b hook global WinSetOption filetype=make %{ addhl ref make - hook buffer -group make-hooks NormalKey make-jump + hook buffer -group make-hooks NormalKey make-jump } hook global WinSetOption filetype=(?!make).* %{ rmhl make; rmhooks buffer make-hooks }