summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-03-22 15:11:38 -0700
committerbenj <benj@rse8.com>2018-03-22 15:11:38 -0700
commite8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc (patch)
treef161ac547ec258ef84816e4a45ee2a5cd6170837 /settings
parent7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477 (diff)
downloademacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar.gz
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar.bz2
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar.lz
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar.xz
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.tar.zst
emacs-e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc.zip
added flx-ido for fuzzy searching
Diffstat (limited to 'settings')
-rw-r--r--settings/setup-ido.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/settings/setup-ido.el b/settings/setup-ido.el
index f10e9fc..26daeb2 100644
--- a/settings/setup-ido.el
+++ b/settings/setup-ido.el
@@ -1,15 +1,13 @@
-;; Stolen from magnars
-;; https://github.com/magnars/.emacs.d/blob/master/settings/setup-ido.el
-
(require 'ido)
+(require 'flx-ido)
(ido-mode t)
-(setq ido-enable-prefix nil
- ido-enable-flex-matching t
- ido-case-fold nil
- ido-auto-merge-work-directories-length -1
- ido-create-new-buffer 'always
- ido-use-filename-at-point nil
- ido-max-prospects 10)
+(ido-everywhere t)
+(flx-ido-mode t)
+
+;; disable flex matching to use flx-ido
+(setq ido-disable-flex-matching t
+ ido-use-faces nil
+ ido-create-new-buffer 'always)
(require 'ido-vertical-mode)
(ido-vertical-mode)