1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

grep.kak: Fix remaining use of jump instead of grep-jump

This commit is contained in:
Maxime Coste 2015-08-05 00:19:37 +01:00
parent 7ecd44d3ad
commit c01956726a

View File

@ -27,7 +27,7 @@ hook global WinSetOption filetype=grep %{
addhl group grep addhl group grep
addhl -group grep regex "^((?:\w:)?[^:]+):(\d+):(\d+)?" 1:cyan 2:green 3:green addhl -group grep regex "^((?:\w:)?[^:]+):(\d+):(\d+)?" 1:cyan 2:green 3:green
addhl -group grep line %{%opt{_grep_current_line}} default+b addhl -group grep line %{%opt{_grep_current_line}} default+b
hook buffer -group grep-hooks NormalKey <c-m> jump hook buffer -group grep-hooks NormalKey <c-m> grep-jump
} }
hook global WinSetOption filetype=(?!grep).* %{ rmhl grep; rmhooks buffer grep-hooks } hook global WinSetOption filetype=(?!grep).* %{ rmhl grep; rmhooks buffer grep-hooks }