We want to bind Ctrl+c m to man-follow. We can use the following 3 steps to generate key binding command just like this:
(global-set-key “^Cm” (quote man-follow))
We can put this command into .emacs file to make our life easier.
1. M-x global-set-key
press Ctrl-c m from keyboard, press return.
enter man-follow return.
2. M-x repeat-complex-command return.
Now (global-set-key “^Cm” (quote man-follow)) is displayed in mini buffer.
3.Ctrl-a Ctrl-k to copy it into kill ring then paste it into .emacs.
Remember! Don’t copy the string by mouse copy or Ctrl+Shift+c if you use emacs-nox because ^C is a single key! Copy it into clipboard will make it into “^ and C” which leads to an error.