Files
.emacs.d/modules/editor/siren-smex.el
Jim Myhrberg d8358f7d7d 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.
2019-02-08 15:15:23 +00:00

22 lines
432 B
EmacsLisp

;;; siren-smex.el --- jimeh's Emacs Siren: smex.
;;; Commentary:
;; Replace M-x with the more powerful smex.
;;; Code:
(use-package smex
:bind
("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)
:config
(setq smex-save-file (expand-file-name ".smex-items" siren-savefile-dir))
(smex-initialize))
(provide 'siren-smex)
;;; siren-smex.el ends here