Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> For example, if you want to delete 3 words, there is an action to delete (d) and a motion to move forward one word (w): 3dw (read (3) times, (d)elete (w)ord)

I prefer to use d3w since it feels more like English. It's also more compatible with other combinations like ci" ('change inside quotes', e.g. to change a string), ca" ('change around quotes', e.g. to replace a string with a constant), or yt{ ('yank to brace').



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: