tag:blogger.com,1999:blog-2304251215826746968.post647885677355707362..comments2023-08-25T07:40:19.012-07:00Comments on Life Is Too Short For Bad Code: Emacs Tip #18: Keyboard Macrosahttp://www.blogger.com/profile/03202031495623868181noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2304251215826746968.post-41000668609911800352008-05-03T12:38:00.000-07:002008-05-03T12:38:00.000-07:00Also handy here is M-x kmacro-bind-to-key, which w...Also handy here is M-x kmacro-bind-to-key, which will bind the last macro entered to a keystroke.Jeremiahhttps://www.blogger.com/profile/10907033393812017730noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-31846552215412976322008-04-22T18:14:00.000-07:002008-04-22T18:14:00.000-07:00Keyboard macros are great, but the default keybind...Keyboard macros are great, but the default keybindings are terrible.<BR/><BR/>Here's a better set, which I got from somebody (sorry, I've forgotten whom):<BR/><BR/>(global-set-key [f10] 'start-kbd-macro)<BR/>(global-set-key [f11] 'end-kbd-macro)<BR/>(global-set-key [f12] 'call-last-kbd-macro)<BR/><BR/>You can think of F10 as "start recording", F11 as "stop recording", and F12 as "play".Mitch Wandhttps://www.blogger.com/profile/09478700545352725717noreply@blogger.com