Function: treemacs-toggle-show-dotfiles

treemacs-toggle-show-dotfiles is an interactive and byte-compiled function defined in treemacs-interface.el.

Signature

(treemacs-toggle-show-dotfiles)

Documentation

Toggle the hiding and displaying of dotfiles.

For toggling the display of git-ignored files see treemacs-hide-gitignored-files-mode(var)/treemacs-hide-gitignored-files-mode(fun).

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-toggle-show-dotfiles ()
  "Toggle the hiding and displaying of dotfiles.

For toggling the display of git-ignored files see
`treemacs-hide-gitignored-files-mode'."
  (interactive)
  (setq treemacs-show-hidden-files (not treemacs-show-hidden-files))
  (treemacs-run-in-every-buffer
   (treemacs--do-refresh (current-buffer) 'all))
  (treemacs-log "Dotfiles will now be %s"
                (if treemacs-show-hidden-files "displayed." "hidden.")))