Commit 13ef2988afd3

Vincent Demeester <vincent@sbr.pm>
2016-11-23 18:31:30
Add Remap M-x :)
1 parent ce1fdd9
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -387,6 +387,18 @@
      (setq echo-keystrokes 0.1)
    #+END_SRC
 
+** Remap M-x
+
+   Alt-x is one of the most frequently typed Emacs key combos, and it
+   involves scrunching your left hand up. Anything you're going to do
+   thousands of times should be streamlined, so you want to be able to
+   start a M-x sequence with the Ctrl key.
+
+   #+BEGIN_SRC emacs-lisp
+     (global-set-key "\C-c\C-m" 'execute-extended-command)
+   #+END_SRC
+
+
 ** Expand some words and auto-correct
 
    =abbrev-mode= or abbreviation mode is a built-in mode that