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

> For example I mostly use w, d, o, hjkl, y, p, w, b, t and recently discovered the `c+i` combo which is awesome.

In addition to these, I've found (my personal experience, ymmv):

1) f/F to jump to next/previous occurrence of character to help navigating within a line very effectively, in conjunction with ; and , to jump around within these occurences. 2) use relative line numbers in conjunction with your hjkl.

E.g. jump up 5 lines and go to the start of a bracket is '5kf('. If it's a nested bracket you want, then '5kf(;'.



nice, thanks for the tips




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

Search: