Swap M-x and C-x C-m keybindings between smex and helm-command

I mostly use C-x C-m instead of M-x as I for some reason find it less
annoying to type. I really like helm-command's helm-M-x function, but I
find slightly too slow and slightly too intrusive than smex.

Hence I'm switching back my main keybinding to smex, but still leaving
helm-M-x bound to the M-x keybinding I use very rarely, just so I can
still access it when I need to.
This commit is contained in:
2019-02-08 15:15:23 +00:00
parent 506bf8db07
commit d8358f7d7d
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,7 @@
:ensure helm
:defer t
:bind
("C-x C-m" . helm-M-x)
("C-c C-m" . helm-M-x)
("M-x" . helm-M-x)
:config
(setq helm-M-x-always-save-history t

View File

@@ -8,7 +8,8 @@
(use-package smex
:bind
("M-x" . smex)
("C-x C-m" . smex)
("C-c C-m" . smex)
("M-X" . smex-major-mode-commands)
("C-c C-c M-x" . execute-extended-command)