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

Also, it's extremely satisfying to record a complex macro and then 100@@ it across a wide swath of your file


Recording macros correctly and quickly is an art. Text objects help immensely, since they can handle a lot of edge cases in different places across your code.


One of my favorite tricks was binding @q to <space>. It really speeds up playback so I don't need to necessarily count occurrences or go recursive.




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

Search: