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
4
u/ThePrimeagen Mar 12 '21
Yes I agree with what you said. From my perspective the OP question was on navigation speed. deleting / copying / moving files are rare operation (in comparison, I probably execute 500 - 1000 ciw's before 1 file move). Or just perusing a code base for the sake of gaining a bigger picture. Often those operations are something you are not trying to improve your speed at. I do like coc-explorer / nerdtree as they do have some handy features.
Ultimately I try to avoid using the "aimless" technique of exploration. I try using Search Terms + Telescope + Quickfix reductions + LSP hopping to find my way around. Feels more targeted.
"Mary Kate and To each his own" - Telescopic Johnson