Fix uses of <c-m> in rc files, <ret> should be used now
This commit is contained in:
parent
e288d84408
commit
bbceae97a2
|
@ -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 <c-m> grep-jump
|
||||
hook buffer -group grep-hooks NormalKey <ret> grep-jump
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!grep).* %{ rmhl grep; rmhooks buffer grep-hooks }
|
||||
|
|
|
@ -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 <c-m> make-jump
|
||||
hook buffer -group make-hooks NormalKey <ret> make-jump
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!make).* %{ rmhl make; rmhooks buffer make-hooks }
|
||||
|
|
Loading…
Reference in New Issue
Block a user