Ignore "Dotfiles and Lockfiles" by default in counsel-find-file
This commit is contained in:
parent
84fa4fe9fa
commit
3b210ad829
@ -464,7 +464,9 @@
|
|||||||
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
|
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
|
||||||
:config
|
:config
|
||||||
(setq ivy-extra-directories nil
|
(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)
|
(assq-delete-all 'counsel-M-x ivy-initial-inputs-alist)
|
||||||
|
|
||||||
(defun counsel-find-file-edit-path ()
|
(defun counsel-find-file-edit-path ()
|
||||||
|
Loading…
Reference in New Issue
Block a user