1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-27 12:16:22 +03:00

Fix grep-jump on eol

This commit is contained in:
Maxime Coste 2017-07-28 20:12:53 +02:00
parent d0dfcd2b78
commit 6ab98f8bf8

View File

@ -49,7 +49,7 @@ decl -docstring "name of the client in which all source code jumps will be execu
def -hidden grep-jump %{
eval -collapse-jumps %{
try %{
exec 'xs^((?:\w:)?[^:]+):(\d+):(\d+)?<ret>'
exec '<a-x>s^((?:\w:)?[^:]+):(\d+):(\d+)?<ret>'
set buffer grep_current_line %val{cursor_line}
eval -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3}
try %{ focus %opt{jumpclient} }