Files
.emacs.d/modules/editor/siren-smex.el
Jim Myhrberg a8618938bf feat(core): use general.el for keybind definitions nearly everywhere
Primarily this replaces :bind with :general in all use-package calls.
2022-03-14 21:16:15 +00:00

24 lines
447 B
EmacsLisp

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