all repos — nixfiles @ cf8274074e6eb6b8f35003a92fae1d90d8e1981d

System and user configuration, managed by nix and home-manager

Emacs: Remove ./ and ../ from ivy file completions
Alan Pearce alan@alanpearce.uk
Tue, 25 Apr 2017 10:39:08 +0200
commit

cf8274074e6eb6b8f35003a92fae1d90d8e1981d

parent

605640f02a13c311fa6a1726f93cb5be52472ff0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1357,7 +1357,8 @@ :diminish ivy-mode   :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)