2 ms·
Good catch! So true. I forgot about this point, a concept I do not see a lot of in emacs: vim has a number of similar functions that differ purely by where t
by Xurinos 16y ago
Good catch! So true. I forgot about this point, a concept I do not see a lot of in emacs:
vim has a number of similar functions that differ purely by where the cursor ends up. The f vs t is one such distinction. Another is navigation of words by first letter or last letter (w vs e).
Not often mentioned is the variations of block highlighting, where I can quickly (two or three letters) highlight my block and choose whether or not to include the beginning and end of block. For example, when I am in the middle of a sexp, vi( highlights everything inside the parentheses, and va( includes the parentheses. For {}s, just use vi{ and va{.
And there are more options like these for saving keystrokes that, thanks to generally consistent policies, are the same for multiple commands -- cw (change the next word), dw (delete the next word), vw (highlight the next word), etc.