Add flx to list of default packages

This commit is contained in:
Bozhidar Batsov 2013-07-13 10:01:19 +03:00
parent e70cd713f1
commit f341074dd8
4 changed files with 22 additions and 1 deletions

View file

@ -213,6 +213,7 @@ Will only occur if prelude-whitespace is also enabled."
;; ido-mode
(require 'ido)
(require 'ido-ubiquitous)
(require 'flx-ido)
(setq ido-enable-prefix nil
ido-enable-flex-matching t
ido-create-new-buffer 'always
@ -222,6 +223,10 @@ Will only occur if prelude-whitespace is also enabled."
ido-default-file-method 'selected-window)
(ido-mode +1)
(ido-ubiquitous +1)
;; smarter fuzzy matching for ido
(flx-ido-mode +1)
;; disable ido faces to see flx highlights
(setq ido-use-faces nil)
;; smex, remember recently and most frequently used commands
(require 'smex)

View file

@ -42,7 +42,7 @@
(defvar prelude-packages
'(ace-jump-mode ack-and-a-half dash diminish elisp-slime-nav
expand-region flycheck gist
expand-region flx flycheck gist
git-commit-mode gitconfig-mode gitignore-mode grizzl
guru-mode helm helm-projectile ido-ubiquitous
key-chord magit rainbow-mode