I read that the usual way to bind key to keyboard macros are C-x C-k 0
to 9
and A
to Z
.
So for example, after we define a keyboard macro, we can type
C-x C-k b
and Emacs will ask for a key to bind. And the reserved keys for this purpose are C-x C-k 0
to 9
and A
to Z
.
But this involves quite a few keystrokes. What are good keys to bind this to? I found that I could bind it to C-<return>
or Option + Enter on a Mac running the Ubuntu Virtual Machine using the Emacs GUI version. So that should work, but the Emacs terminal version and the native Emacs on a Mac both treat C-<return>
or Option + Enter as just <return>
, so that won't work.
What might be unused keys on Emacs that generally can be used to bind keyboard macros?
Or maybe alternatively, is there a way to show all the simple keys that are not bound to Ctrl and Meta?