Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

J and K are very slow #1

Open
sin2384 opened this issue Oct 22, 2019 · 2 comments
Open

J and K are very slow #1

sin2384 opened this issue Oct 22, 2019 · 2 comments

Comments

@sin2384
Copy link

sin2384 commented Oct 22, 2019

Hi, this is something I'm looking for a long time! Great plugin, and thank you for you work!
I'm using Ubuntu 18.04, installed liblua5.1-0, and already had xdotools.
The problem is - j and k are much slower than arrows. Any ideas why is this happening, and how to fix it?

@Galicarnax
Copy link
Owner

I have never had this problem in my host Ubuntu, but I had observed similar behavior (laggy xdotool calls) in my Xubuntu guest in VirtualBox. But just today I've updated VirtualBox to the latest version and the problem seems to be gone... Anyway, I hope DC developers will expand the API to provide cursor movements (I made a request at DC discussion board). Incidentally, this will solve another issue - if you press j or k without releasing the key, you'd expect cursor to repeatedly move, but for some reason that doesn't happen - even though the Lua script itself is repeatedly called, the xdotool-calling function within it triggers only on the first call (although the behavior is normal in MS Windows version of dcvim).

@sin2384
Copy link
Author

sin2384 commented Oct 22, 2019

Thanks for getting back to me. I use Ubuntu directly, without VirtualBox. Let's hope this issue can be resolved in the future because these are all amazing features that I really want...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants