Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hitting * after a visual selection is made doesn't highlight the matches #20

Open
nickjj opened this issue Mar 9, 2019 · 1 comment

Comments

@nickjj
Copy link

nickjj commented Mar 9, 2019

Hi,

Steps to reproduce with Vim 8.0:

  1. Create a file with this content:
hello world
hello world
  1. Visually select the first line's hello world

  2. Press *

  3. Nothing is highlighted but the command window will show /\Vhello world

I would have expected both hello world lines to be highlighted which is the behavior with vim-visual-star-search (which I uninstalled to avoid conflicts).

It's also worth pointing out if I move the cursor over the word hello and press * then it immediately highlights both hello strings, so this seems isolated to visually selecting words.

Also, if I press n after visually selecting text then the highlight happens but that seems like an unexpected event.

Am I doing something wrong? It's supposed to highlight the match after only pressing * right?

@danihodovic
Copy link

I'm facing the same issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants