diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a7487e6..2963995 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -464,7 +464,9 @@ (bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x. :config (setq ivy-extra-directories nil - counsel-preselect-current-file t) + counsel-preselect-current-file t + ;; ignore "Dotfiles and Lockfiles" by default + counsel-find-file-ignore-regexp "\\(?:\\`\\|[/\\]\\)\\(?:[#.]\\)") (assq-delete-all 'counsel-M-x ivy-initial-inputs-alist) (defun counsel-find-file-edit-path ()