tweak errjump command

This commit is contained in:
Maxime Coste 2013-01-03 18:47:51 +01:00
parent ae9aadb07d
commit f84e46f805

View File

@ -15,4 +15,4 @@ hook global WinSetOption filetype=make %{
hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; } hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; }
def errjump %{ exec 'xs^([^:\n]+):(\d+)(?::(\d+))?:(.*?)$<ret>'; edit %reg{1} %reg{2} %reg{3}; echo %reg{4} } def errjump %{ exec 'xs^([^:\n]+):(\d+)(?::(\d+))?:(.*?)$<ret><a-h><space>'; edit %reg{1} %reg{2} %reg{3}; echo %reg{4} }