aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-26 02:18:37 +0200
committerGravatar Tom Willemse2016-07-26 02:18:37 +0200
commit001bb3abd177c305c432b43cf7e78cf67d442b7f (patch)
tree1709524aa48bf216cf70d5dd61b36069b1f7a0fe /emacs/.emacs.d/init.el
parentde83d05154fd89cd2f8e7d6b52b954fa5854c058 (diff)
downloadnew-dotfiles-001bb3abd177c305c432b43cf7e78cf67d442b7f.tar.gz
new-dotfiles-001bb3abd177c305c432b43cf7e78cf67d442b7f.zip
Add ido-flx
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 7d3d5b9..64fba23 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -211,6 +211,19 @@ This is currently the data directory under the
(require 'ido-ubiquitous)
(ido-ubiquitous-mode)
+;; Add ido-flx for flex matching in ido.
+
+(ensure-library flx-ido)
+(require 'flx-ido)
+
+;; Enable flex matching and disable faces so `flx-ido-mode' can do its
+;; thing.
+(with-eval-after-load 'ido
+ (setq ido-enable-flex-matching t
+ ido-use-faces nil))
+
+(flx-ido-mode)
+
;;;; Minor modes:
;;;;; Paredit: