My Emacs Configuration (Dired)
4 hours ago
- Dired is an Emacs file browser that treats files as buffer elements, enabling navigation and operations with Emacs habits.
- Invoking Dired: via C-x p d (project directories), C-x C-j (current directory), C-x C-d (default), or setting Emacs as default file manager.
- File operations: mark files with various methods (m, * s, * ., % m, t, U), copy/move/remove, and flag for deletion with d, % &, % d.
- WDired mode makes Dired buffer writable, allowing filename editing via search/replace, macros, and permission changes.
- Copy/move between two Dired windows is enabled by setting `dired-dwim-target` t.
- Search: C-s for filenames (with `dired-isearch-filenames` t), plus find-name-dired and find-grep-dired for content searches.
- External programs: open files with external viewers via `dired-open-extensions`, and run shell commands with ! (sync) or & (async) using wildcards ?, *, `?`.
- Dired and photos: thumbnails via C-t t and C-t o, image manipulation with custom commands and GraphicsMagick.
- Configuration uses packages: delight, dired-rsync, dired-subtree, nerd-icons-dired, dired-x, etc., with custom keybindings and hooks.
- Extensive variable settings for compression, destination dirs, display options, sorting, and faces customization for Solarized Light theme.