Skip to content

Minor: Behavior when searching and entering visual mode is not consistent with Vim #4872

@suewonjp

Description

@suewonjp

Describe the bug
On Vimium, when I search something using / and type n to focus on the text searched, and then type v to enter visual mode, the focus behavior was NOT same as Vim (but not always)

To Reproduce

Steps to reproduce the behavior:

  1. Use / to search some text (say it's foo)
  2. Use n to go to the text foo
  3. Use v to enter visual mode
  4. The focus is on some other text than foo
    • Usually the next word to foo

In vim, the focus is put on the text foo exactly, where you can quickly yank the text or some other subsequent tasks.

However, in Vimium, due to this behavior, you can't immediately yank the text, and etc.

Browser and Vimium version
Firefox 148.0.2 Vimium 2.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions