News for hackers. Stuff that matters.
Re:Programs that have saved me 100+ hours by mbrock on Thursday March 16, 2017 @02:42PM (#13887731)
Same with Emacs keyboard macros. I use them very often to do similar things to many lines. Usually they involve some combination of search to move the cursor, word-based movement, cut and paste, and insertion. It's such a great feeling to define a one off macro in a few seconds and then rip through a whole file!
Re:Programs that have saved me 100+ hours by philsnow on Thursday March 16, 2017 @08:37PM (#13890398)
If you use emacs keyboard macros regularly and find yourself ever re-recording them because you messed them up just a little bit, try out `C-x C-k C-e` (kmacro-edit-macro) sometime. It's life-changing.