Vim: Using C-e / C-y to scroll page is very laggy and unresponsive

Created on 27 Aug 2017  路  6Comments  路  Source: VSCodeVim/Vim

It seems the vscode keeps scrolling up/down even if I release the / keystroke.

(It`s very easy to reproduce this issue.)

Most helpful comment

@Chillee If you're not already aware, the same thing also occurs with CTRL-U/CTRL-D, though it is generally less noticeable. But when you CTRL-D through an entire file, VSCode becomes unresponsive until all buffered keystrokes complete.

All 6 comments

I'm also having this issue, I currently have "key repeat" set to max value on Mac OS X Sierra and am experiencing high latency. I'm fairly new to this project as well as VS Code, but I would be happy to contribute to fixing this issue!

Also in ROADMAP.md, C-e functionality is marked as "Command Done", perhaps this should be changed until the issue is resolved?

@seansisson I'm pretty sure that merely removing this line https://github.com/VSCodeVim/Vim/blob/master/src/mode/modeHandler.ts#L1916 would fix the issues with <C-e>.

I'm not sure if that would cause other problems though...

@Chillee If you're not already aware, the same thing also occurs with CTRL-U/CTRL-D, though it is generally less noticeable. But when you CTRL-D through an entire file, VSCode becomes unresponsive until all buffered keystrokes complete.

I have the same issue, <C-{e,y,d,u}>, when scrolling/paging through a file becomes laggy, and as alecthomas has pointed out becomes "_unresponsive until all buffered keystrokes complete._"

This is fixed by this PR: https://github.com/VSCodeVim/Vim/pull/2428

Works a treat! Thanks people!!

Was this page helpful?
0 / 5 - 0 ratings