Hacker News new | past | comments | ask | show | jobs | submit login

i was initially confused, why would you want to jump or even convert between the '<' and '>' signs? but from trying it out on that snippet, '%' actually jumps to the nearest bracket and selects(?) the matching one [0].

now, i'm not 100% sure on the exact behaviour, but e.g. even a cursory test in sublime shows it will highlight the start and end brackets if i'm inside the if-expression and you can "expand selection to brackets".

[0] https://hea-www.harvard.edu/~fine/Tech/vi.html




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: