Skip to content

Visual star search jumps to last edited file #18

@obxhdx

Description

@obxhdx

I have seen these unexpected jumps for a long time but was never able to understand or reproduce it consistently, until today:

evanesco-star-search

Steps to Reproduce:

  1. Edit any file and close it
  2. Open a new nvim instance
  3. Type some text, select it, press *

Expected Behavior:
Occurrences of the visually selected text are matched in the current buffer.

Current Behavior:
Nvim simply opens the last file I edited (as if I had pressed C-o).

Contents of minimal.nvim:

set hidden
call plug#begin('~/.vim/plugins')
Plug 'pgdouyon/vim-evanesco'
call plug#end()

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