Interact with this post using Mastodon or
Speedup your vim motions
Published on
B
The first thing (would I dare saying the only one?) that should bother you in vim is the latency in vertical and horizontal motions. I mean, if you type and hold j
for example, you cursor will move down and then freeze for few milliseconds before waking up and letting you scroll your document.
This behavior can easily be fixed with a simple command to be added to your .xinitrc
file (and as such this will affect your entire system, not only vim):
xset r rate 200 50
The r option of the xset
command controls the autorepeat. The first number specifies the delay before autorepeat starts and the second specifies the repeat rate. Just play with the numbers to find out what works best for you.
Now, you’re ready to reveal your real typing power and become a typing master. Put your hood on, turn off the light, and hack your toaster at lightspeed :)
Thanks for your read. Hope it's been useful to you.
✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈
More food for thoughts? Check other posts about: #(Neo)vim