summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-04-25 10:39:08 +0200
committerAlan Pearce2017-04-25 10:39:08 +0200
commitcf8274074e6eb6b8f35003a92fae1d90d8e1981d (patch)
treef7e42818fa2b5f9f1a59e8622a0ec5a1f6a2107b /emacs
parent605640f02a13c311fa6a1726f93cb5be52472ff0 (diff)
downloaddotfiles-cf8274074e6eb6b8f35003a92fae1d90d8e1981d.tar.lz
dotfiles-cf8274074e6eb6b8f35003a92fae1d90d8e1981d.tar.zst
dotfiles-cf8274074e6eb6b8f35003a92fae1d90d8e1981d.zip
Emacs: Remove ./ and ../ from ivy file completions
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 2d7e3f9..0446397 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1357,7 +1357,8 @@ replacement for helm so far.
   :demand t
   :config (progn
             (ivy-mode 1)
-            (setq ivy-re-builders-alist '((t . ivy--regex-plus)))
+            (setq ivy-re-builders-alist '((t . ivy--regex-plus))
+                  ivy-extra-directories '())
             (defun ivy-imenu-get-candidates-from (alist  &optional prefix)
               (cl-loop for elm in alist
                        nconc (if (imenu--subalist-p elm)