junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.15k stars 38 forks source link

don't fire autocmds when switching windows #62

Closed deathlyfrantic closed 4 years ago

deathlyfrantic commented 5 years ago

Apparently, Neovim now fires the CursorMoved autocmd every time a window is changed, and that seems to be the root cause of the problem I ran into in #61. (More details can be found in https://github.com/neovim/neovim/issues/11102.) This change has fixed that specific issue for me, but I don't know if there might be other problematic side effects.