Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

n repeats *-search incorrectly #2710

Closed
mbertheau opened this issue Aug 21, 2015 · 2 comments
Closed

n repeats *-search incorrectly #2710

mbertheau opened this issue Aug 21, 2015 · 2 comments
Labels
Discussion Enhancement ☺ stale marked as a stale issue/pr (usually by a bot)

Comments

@mbertheau
Copy link
Contributor

With this document, pointer at |:

|foo
foo_bar
  1. Hit *
  2. Observe there's only one match, so n doesn't move the point
  3. Esc out of the micro-mode
  4. Hit n

Expected: Only one match as before, n doesn't move the point

Actual: Two matches, n moves to the second match.

Apparently * performs the equivalent of /\<foo\>, whereas n just does /foo.

@StreakyCobra
Copy link
Contributor

n is a functionality of evil for searching for text occurences, * is a functionality of auto-highlight-symbol to look for symbols. So what you described seems a normal behaviour for me, but having n repeating the last ahs search may be an improvement 😄

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Enhancement ☺ stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

2 participants