5 ms·
As a long-time vi/Vim user, I thought this article provides an excellent explanation for non-vi/Vim users for the reasons why enthusiasts choose to use such an
by Anthony-G 12y ago
As a long-time vi/Vim user, I thought this article provides an excellent
explanation for non-vi/Vim users for the reasons why enthusiasts choose to use
such an old and unusual (for those coming from a GUI background) editor.
In particular, the author emphasises that you leave Insert mode as soon as
you've stopped typing. When I first started using Vim, I used to spend too
much time in Insert mode while moving around using the arrow keys.
What I learned from the article: If you're not positioned on a parenthesis, the `%`
command will “scan character by character to the right, until the first one is
found, and then moving to the character matching that one”. Until now, I’d
always been using one of the `f`, `;`, `T` family of commands to move to a
parenthesis or equivalent character. This will be a real time saver.