I would like to make a very basic macro on my Mac, to have a command that writes a list of slashes in the current file : ////////////////////
The "Basic emacs macros" section of the manual says :
‘<F3>’
Start defining a keyboard macro
(‘kmacro-start-macro-or-insert-counter’).
‘<F4>’
If a keyboard macro is being defined, end the definition;
otherwise, execute the most recent keyboard macro
(‘kmacro-end-or-call-macro’).
Unfortunately, on my High Sierra Mac the F3 and F4 keys have a builtin "Mission Control" behaviour, so I cannot define macros this way.
How to fix this ?
C-h k
followed by the key in question, and then look at the manual page on binding keys for more details on how to change the bindings.