aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-09-27 02:41:55 +0200
committerGravatar Tom Willemse2016-09-27 02:41:55 +0200
commitdbd8338ae536239a02c26ad9dabf568601cc5589 (patch)
tree516409af87c5c695de1c8da8dd0df71e2993326b /emacs
parent798391c5dfc4908a87811d1ad94f127785bdd2f8 (diff)
downloadnew-dotfiles-dbd8338ae536239a02c26ad9dabf568601cc5589.tar.gz
new-dotfiles-dbd8338ae536239a02c26ad9dabf568601cc5589.zip
Have counsel ignore dotfiles
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 362f393..dad489c 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -361,6 +361,12 @@ To start off, first I need to enable lexical binding.
(require 'counsel)
#+END_SRC
+ Hide dotfiles in =counsel-find-file=.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq counsel-find-file-ignore-regexp "\\`\\.")
+ #+END_SRC
+
Enable Counsel.
#+BEGIN_SRC emacs-lisp