Dired is a file manager for GNU/Emacs.
1.1. Internal Setup
Add a global binding for
dired with General Leader Keybindings Definer.
(require 'init-general) (general-define-key "C-x C-j" 'dired-jump)
(setq dired-listing-switches "-lahF --group-directories-first")
1.2. Single Buffer Mode
This doesn't prevent dired from having multiple buffers open at once, rather, it forces dired to not create a new buffer whenever a new directory is open.
(use-package all-the-icons-dired :hook (dired-mode . all-the-icons-dired-mode))
1.4. Hide Dotfiles
Hide hidden files from dired buffers (toggleable)
(use-package dired-hide-dotfiles :hook (dired-mode . dired-hide-dotfiles-mode) :config (evil-collection-define-key 'normal 'dired-mode-map "H" 'dired-hide-dotfiles-mode))
1.5. Package Provides