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

To add to this ci works for all sorts of things like [ { < “ ‘ etc.

There’s also di (delete in) and vi (visual select in) and probably a ton of others that I don’t know about. I’ll never know all of the wonderful ways to use vim



ci also can take a number for nesting level. For example, c2i( will change within the second level of surrounding parens rather than the innermost


And cit inside (html, xml) tags. And then there's a for around -- cat, daw, >a{...




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

Search: