mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Smex has not been updated since late 2015. Amx was originally a fork of smex, but as since evolved much further into it's own thing. Among other things is supports other completing backends, and ivy with it's fuzzy matching feels rather nice. I'm keeping ido-mode for everything else, but specifically for M-x I'll give ivy a try.
24 lines
448 B
EmacsLisp
24 lines
448 B
EmacsLisp
;;; siren-smex.el --- jimeh's Emacs Siren: smex configuration.
|
|
|
|
;;; 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)
|
|
|
|
:custom
|
|
(smex-save-file (expand-file-name "smex-items" siren-cache-dir))
|
|
|
|
:config
|
|
(smex-initialize))
|
|
|
|
(provide 'siren-smex)
|
|
;;; siren-smex.el ends here
|