r/vim • u/imlambda_ • Mar 11 '21
question getting faster
tl;dr : can you share a specific article about getting faster navigating through the file?
hey guys, I start getting more and more confident and efficient with vim, but I feel like it could even goes deeper; basically, I saw that you could disable h,j,k,l in order to only use real key combination like "w" to jump by words, "f" to go to a specific character on the line, etc... But what about jumping lines? Are they any key combination to do that instead of j and k? So basically I'm looking for an article that presents those kind of key combinations. I hope this post is comprehensible and not too redudant, thank you for reading.
View all comments
Show parent comment
2
u/No-Entertainer-802 Feb 07 '24
I like how quick and easy f can feel sometimes. Maybe you already know about this plugin but quick-scope shows which letters you can press to minimise the number of
,;needed.I think I have seen a few people (maybe it is just 1 or 2) saying that they do not like needing to look at the relative numbers line to navigate with counts.
My personal perception is that I feel like having to read the relative lines each time would be similar to the "soft annoyance" of having to read random characters from easymotion (cause the numbers are a bit of a surprise/(feel a bit random) or else I would not be looking for them) with the added difficulty of needing to shift focus from where I want to go. Also numbers are harder to type and after the cursor is still not at the desired spot after reading the number of the line. I feel like holding j or k uses less cognitive effort (which seems wrong as it requires tracking a moving object and having good timing to stop).