summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-22 09:02:15 +0100
committerAlan Pearce2014-06-22 09:02:42 +0100
commita8f44b320cdbfb7921f78c03833fcba41df0be49 (patch)
treedc99ce6e49ac93645738cd99dace52bc5ee2ba8e
parentf4eb0fcd6a9e2d4a035ff71533c96a806ef15304 (diff)
downloadnixfiles-a8f44b320cdbfb7921f78c03833fcba41df0be49.tar.lz
nixfiles-a8f44b320cdbfb7921f78c03833fcba41df0be49.tar.zst
nixfiles-a8f44b320cdbfb7921f78c03833fcba41df0be49.zip
Emacs: use dired-x-find-file over ido-find-file
Gains find-file-at-point functionality. With ido-everywhere, still uses ido.
-rw-r--r--tag-emacs/emacs.d/init.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2b2059ef..7bf5ab63 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -230,7 +230,9 @@
             (put 'dired-find-alternate-file 'disabled nil)))
 
 (req-package dired-x
-  :require dired)
+  :require dired
+  :init (progn
+          (setq dired-x-hands-off-my-keys nil)))
 
 (req-package dired+
   :require dired
@@ -428,8 +430,7 @@
   :bind (("C-x b"   . ido-switch-buffer))
   :init (progn
           (setq ido-save-directory-list-file (expand-file-name "ido-state" user-emacs-directory))
-          (bind-key* "C-x C-f" #'ido-find-file)
-          (ido-mode 1)
+          (ido-mode 'buffers)
           (ido-everywhere 1))
   :config (progn
             (setq ido-auto-merge-delay-time 99999