summaryrefslogtreecommitdiff
path: root/lisp/init-smex.el
blob: bd0c5eb26cda3a7c700d79e141eee05c4a74708d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(require-package 'smex)

;; http://www.juanrubio.me/2011/11/emacs-smex-m-x-do-not-like-typing/
(smex-initialize)
;; smex bound in km-evil.ex (,x).
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
;; Old M-x
(global-set-key (kbd "M-x") 'execute-extended-command)

(key-chord-define-global ",x" 'smex)

(provide 'init-smex)