summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-30 15:51:27 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-30 15:51:27 -0700
commitb380747fa17712b6d7f429d7f852fc873a4b56a2 (patch)
treed3122a32261b0f68f8652d0dd339997ece6a0008 /emacs.d/custom
parent[emacs] Update binding for templates in org mode. (diff)
downloademacs.d-b380747fa17712b6d7f429d7f852fc873a4b56a2.tar.gz
[emacs] Ignore macos files when browsing.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-navigation.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index 18ad2de..7671231 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -34,6 +34,7 @@
    ("C-c /"   . counsel-ag)
    ("C-x r l" . counsel-bookmark))
   :custom
+  (counsel-find-file-ignore-regexp "\\.DS_Store\\|\\.localized\\'")
   (counsel-find-file-at-point t)
   (ivy-use-virtual-buffers t)
   (ivy-count-format "(%d/%d) ")
@@ -64,7 +65,7 @@
     ;; omit mode can be toggled using `C-x M-o' in dired buffer.
     (add-hook 'dired-mode-hook #'dired-omit-mode)
     (setq dired-omit-files
-          (concat dired-omit-files "\\|^.DS_STORE$\\|^.localized$\\|^.projectile$\\|^.git$"))))
+          (concat dired-omit-files "\\|^.DS_Store$\\|^.localized$\\|^.projectile$\\|^.git$"))))
 
 (use-package ibuffer
   :bind ("C-x C-b" . ibuffer))