dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

When searching for a token with <leader>vv, surround the search with boundary matches #74

Open dylan-chong opened 6 years ago

dylan-chong commented 6 years ago

def abc

If the cursor is on a, pressing <leader>vv will pick up things like abcd and zabc, which I believe it should not - we are searching for the token abc.

Searching using the regular expression \babc\b instead of abc would solve the problem