3 ms·
The most amazing thing about vim is that, even as a fairly basic user, I can read an article like this, learn a ton, and still realize that I have an easier way
by JenrHywy 3y ago
The most amazing thing about vim is that, even as a fairly basic user, I can read an article like this, learn a ton, and still realize that I have an easier way of doing something than the author (why use 100gg when :100 exists?).
It seems no matter how much you know about vim, there's always more.
- TonyStr 3y agoTechnically yours (<Shift>, :, 1, 0, 0, <Enter>) is one more keystroke than his (1, 0, 0, g, g) if you count shift and enter. If you don't count shift, you can also do 100G. I personally prefer :100 even though its technically the most keystrokes
- JenrHywy 3y agoThat's an interesting observation. I can't justify why, but : feels a lot more fluid to type than gg, even though as you say, gg has less keystrokes and still keeps you on the home row.