Browse Source

Add smex and ido-ubiquitous for better `M-x`

custom
toctan 13 years ago
parent
commit
0ad998d618
  1. 7
      core/prelude-editor.el
  2. 2
      core/prelude-packages.el

7
core/prelude-editor.el

@ -209,6 +209,13 @@ Will only occur if prelude-whitespace is also enabled."
ido-save-directory-list-file (expand-file-name "ido.hist" prelude-savefile-dir)
ido-default-file-method 'selected-window)
(ido-mode +1)
(ido-ubiquitous +1)
;; smex, remember recently and most frequently used commands
(setq smex-save-file (concat user-emacs-directory ".smex-items"))
(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
;; auto-completion in minibuffer
(icomplete-mode +1)

2
core/prelude-packages.el

@ -44,7 +44,7 @@
expand-region flycheck gist
git-commit-mode gitconfig-mode gitignore-mode
guru-mode helm helm-projectile
key-chord magit melpa
key-chord magit melpa smex ido-ubiquitous
rainbow-mode solarized-theme undo-tree
volatile-highlights yasnippet zenburn-theme)
"A list of packages to ensure are installed at launch.")

Loading…
Cancel
Save