Open gl4eqen opened 3 years ago
Any "jump-to" line that ends with a whitespace is not matched by a regex because of a '_' command that strips all the whitespace.
Test case:
echo '/etc/passwd:1:1:this is some text ' | :edit-search fails. echo '/etc/passwd:1:1:this is some text' | :edit-search succeeds.
echo '/etc/passwd:1:1:this is some text ' | :edit-search
echo '/etc/passwd:1:1:this is some text' | :edit-search
x selecting a whole line solves an issue. I'm not sure though if it does not break :edit-search in some way. Thanks a lot for a review.
x
:edit-search
Any "jump-to" line that ends with a whitespace is not matched by a regex because of a '_' command that strips all the whitespace.
Test case:
echo '/etc/passwd:1:1:this is some text ' | :edit-search
fails.echo '/etc/passwd:1:1:this is some text' | :edit-search
succeeds.x
selecting a whole line solves an issue. I'm not sure though if it does not break:edit-search
in some way. Thanks a lot for a review.