Emacs: 1 Key for M-x

By Xah Lee. Date: . Last updated: .

The default key for execute-extended-command is 【Alt+x】.

On Linux, ▤ Menu key does execute-extended-command by default.

pc keyboard menu key 86821
the ▤ Menu key (to the right of Alt).

You should set F8 or ▤ Menu key for it. Single key is easier to type than 【Alt+x】.

For how, see: Emacs: How to Define Menu Key.

Turn On icomplete-mode

When Alt+x execute-extended-command, you can press the Tab key to show a list of suggestions.

You can turn on icomplete-mode. It'll show a list of completions automatically. Put this in your emacs init:

;; auto show completions for execute-extended-command
(icomplete-mode 1)

Emacs Keybinding Tips

  1. Add Custom Keys to Enhance Productivity
  2. isearch by Arrow Keys
  3. Bind Number Pad Keys
  4. 1 Key for M-x
  5. Hotkey to Open File Fast
  6. Add Web Browser Back Key/Button to Info mode
  7. Ctrl+x and Dvorak

If you have a question, put $5 at patreon and message me.
Or Buy Xah Emacs Tutorial
Or buy a nice keyboard: Best Keyboards for Emacs

Emacs

Emacs Lisp

Misc