summaryrefslogtreecommitdiff
path: root/init/km-smex.el
diff options
context:
space:
mode:
Diffstat (limited to 'init/km-smex.el')
-rw-r--r--init/km-smex.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init/km-smex.el b/init/km-smex.el
new file mode 100644
index 0000000..3021771
--- /dev/null
+++ b/init/km-smex.el
@@ -0,0 +1,7 @@
+;; http://www.juanrubio.me/2011/11/emacs-smex-m-x-do-not-like-typing/
+(require 'smex)
+(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)