How to hide files from find-file in emacs?
What I need to do is simple: I have A-f bound to find-file in emacs, but want to hide specific files that I do not care about. I have them hidden in dired already using this config: (setq dired-omit-files (concat "\\`\\.[^.]+\\'" ; Dotfiles without extension (e.g., .config) "\\|\\`\\.#.*\\'" ; Emacs lock files (e.g., .#anything) "\\|\\`persist-text-scale\\'" ; Specific file "\\|\\`transient\\'" ; Directories by name "\\|\\`target\\'" "\\|\\`node_modules\\'" "\\|\\.~undo-tree~\\'")) ; Undo tree files And I want to apply the same regex rules to filter out some files in find-file, so that I do no
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.