From dbd8338ae536239a02c26ad9dabf568601cc5589 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 27 Sep 2016 02:41:55 +0200 Subject: [PATCH] Have counsel ignore dotfiles --- emacs/.emacs.d/init.org | 6 ++++++ 1 file changed, 6 insertions(+) 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