Closed losingkeys closed 9 years ago
This seems reasonable to me. Two comments:
echoerr
seems appropriate here.Usage: ':Ag {pattern | <cword>}'.
?I'd probably change it to "cursor" or "word under cursor" or something. <cword>
is a vim idiom, and people that haven't done much vim dev might not get it.
Thanks for the review!
Previously
:Ag
(with nothing under the cursor; e.g. an empty buffer) would open the quickfix window with "ERR: What do you want to search for?", which wasn't as helpful, and it left a useless quickfix window open.Closes #51