summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-ido.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el
index d0da97b..ae1c8ea 100644
--- a/lisp/init-ido.el
+++ b/lisp/init-ido.el
@@ -15,6 +15,10 @@
ido-save-directory-list-file "~/.emacs.d/cache/ido.hist"
ido-max-directory-size 100000)
+(add-hook 'dired-mode-hook
+ '(lambda ()
+ (set (make-local-variable 'ido-use-filename-at-point) nil)))
+
(setq ido-file-extensions-order
'(".org" ".txt" ".md" ".rst" ".tex" ".py" ".el" ".hs"))