DEV Community

Discussion on: You're using Vim Wrong - Relative Line Numbers

Collapse
 
ug02fast profile image
Arthur Zhuk

This looks good. Have you noticed if you're making fewer keystrokes overall to get your cursor where you want to be more consistently? Strong discipline using sneak could be better than relative line number jumping. I need to try it for a week at least and see how it plays out.

Collapse
 
vonheikemen profile image
Heiker • Edited

Yes, when I use it really does save keystrokes. I find it particularly useful when I randomly notice a typo but it is really far away from where my cursor is, what I do is press s, search the term (that's just two keys), fix the typo, then I press ctrl + o to move back where I was, and I just keep working. Everything happens fast and I don't lose my train of thought.

I do sometimes find myself "playing snake" to move around... but that's just because it's very hard to "unlearn" that habit.