luan / vimfiles

The Vim Configuration. Uses vim-plug to manage plugins.
172 stars 58 forks source link

vim8 cursor is "sticky" at top and bottom of files with recent vimfiles update #92

Closed robdimsdale closed 7 years ago

robdimsdale commented 7 years ago

I'm not sure of a good way to explain this, other than the most recent commits here (which fixed the background issue with vim8) cause the cursor to get temporarily stuck at the bottom or top of a file.

E.g. If I hold j/k to get to to the bottom/top of the file, then immediately switch to holding the opposite, there is a lag of maybe about one second before the cursor moves again.

This might be easier to demonstrate in-person rather than try to capture a video.

robdimsdale commented 7 years ago

After in-person debugging, we concluded that it was set vb in the vimrc.local - disabling the visual bell makes this problem go away.

Interestingly, this behavior was also observed on vim 7 as well as vim 8, and on both linux and osx, but not on any version of neovim on any OS. Perhaps neovim doesn't support visual bells?