Skip to content

Support search for word under cursor (via asterisk or hash key) #115

@michaelfranzl

Description

@michaelfranzl

Sometimes it is more convenient to search for the word under the cursor by typing * for searching forward, or # for searching backward, rather than typing / and (part of) the search term. However, even though it is equivalent to searching, nvim-scrollbar (via hlslens?) does not highlight the occurrences in the scrollbar. Only / works.

If I select the word under the cursor, it should show all occurrences of it in the scrollbar.

A workaround is to put the cursor on the desired word, then type in normal mode *//<Enter>. This works because // searches for the last search term.

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