grep: fix for filenames containg spaces
This commit is contained in:
parent
aa6a7e544d
commit
b376e3b662
|
@ -44,7 +44,7 @@ define-command -hidden grep-jump %{
|
|||
try %{
|
||||
execute-keys '<a-x>s^((?:\w:)?[^:]+):(\d+):(\d+)?<ret>'
|
||||
set-option buffer grep_current_line %val{cursor_line}
|
||||
evaluate-commands -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3}
|
||||
evaluate-commands -try-client %opt{jumpclient} %{ edit -existing %reg{1} %reg{2} %reg{3} }
|
||||
try %{ focus %opt{jumpclient} }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user