Hacker News new | ask | show | jobs
by jcrben 145 days ago
Generally I'm using 'e' to go forward and 'b' to go backward
1 comments

Whereas I have always used `w` and did not even know that `e` existed (not that I can see an obvious advantage to it). Ahh, vim.
Do you like your cursor at the beginning or end of words?

Most of the time it doesn't really matter. But if you know you want to append to a word you can hit that target immediately by using `e` (`ea`). Or if you want to prepend, you can use `wi`.

Note that `i` and `a` have a similar pairing to `w` and `e`.

As it happens, I do actually use both `i` and `a` already. So, to celebrate my first decade on vim, I'm going to try to add `e` to my repertoire.
> (not that I can see an obvious advantage to it).

Precision. I use e/E more often than w/W when editing a line or creating macros, but w/W for moving around. But more often i search with f and jump to next match with ; if I didn't hit the target right away. / then n if I'm moving to another line.

More often than not you want 'de' or 'ye' rather than 'dw' or 'yw'