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

Steps to Reproduce:
- Edit any file and close it
- Open a new nvim instance
- 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()
I have seen these unexpected jumps for a long time but was never able to understand or reproduce it consistently, until today:
Steps to Reproduce:
*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: