From 75173876ba6893d03edd876c9e4e0cf654793705 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 28 Jun 2015 09:01:29 -0400 Subject: [PATCH] add smex and multiple-cursors --- .emacs | 5 +++-- .emacs.d/el-get-user/init-files/init-smex.el | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .emacs.d/el-get-user/init-files/init-smex.el diff --git a/.emacs b/.emacs index d27ff82..cb00cf1 100644 --- a/.emacs +++ b/.emacs @@ -52,14 +52,15 @@ '(el-get smart-mode-line avy + smex + ace-window company tramp - projectile hideif magit undo-tree - ace-window hydra + multiple-cursors lua-mode pkgbuild-mode arduino-mode diff --git a/.emacs.d/el-get-user/init-files/init-smex.el b/.emacs.d/el-get-user/init-files/init-smex.el new file mode 100644 index 0000000..c0a7a29 --- /dev/null +++ b/.emacs.d/el-get-user/init-files/init-smex.el @@ -0,0 +1,4 @@ +(global-set-key (kbd "M-x") 'smex) +(global-set-key (kbd "M-X") 'smex-major-mode-commands) +;; This is your old M-x. +(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)