Add smex and ido-ubiquitous for better M-x
This commit is contained in:
parent
7eeea58c22
commit
0ad998d618
2 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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…
Reference in a new issue