5.9.3 Dired Usage

images/casual-dired-screenshot

Invoke M-x dired to launch Dired. When the point is in the Dired window, invoke C-o (or a binding of your choosing) to launch the Casual Dired menu (casual-dired-tmenu).

Casual Dired organizes its main menu into the following sections:

File

File-related commands are placed here. Many of the commands in this section will work on marked files. More commands that work on marked files are available in the Bulk section.

KeyLabelCommandNotes
oOpen Otherdired-find-other-window
vViewdired-view-file
CCopy to…dired-do-copy
RRename…dired-do-rename
DDelete…dired-do-delete
lLink›casual-dired-link-tmenu
cChange›casual-dired-change-tmenu
yTypedired-show-file-type
wCopy Namedired-copy-filename-as-kill
!Shell…dired-do-shell-command
&Shell &…dired-do-async-shell-command
;Thumbnailimage-dired-dired-toggle-marked-thumbscontext-sensitive
WBrowsebrowse-url-of-dired-file
Directory

Directory-related commands. Subdir view commands are also made available in this section. To remove a subdir view, use the command prefix C-u before pressing the binding k to kill a subdir view.

KeyLabelCommandNotes
sSort By›casual-dired-sort-by-tmenu
hHide Detailsdired-hide-details-mode
OOmit Modedired-omit-mode
iInsert Subdirdired-maybe-insert-subdircontext-sensitive
$Hide/Unhide Subdirdired-hide-subdircontext-sensitive
kKill (Hide) Line(s)dired-do-kill-linescontext-sensitive
gRevertrevert-buffer
fFilter by name…casual-dired-find-dired-regexp
EEdit (wdired)wdired-change-to-wdired-mode
TThumbnails…image-diredcontext-sensitive
dDired…dired
Bulk

Bulk operations on marked or flagged files.

KeyLabelCommandNotes
mMarkdired-markcontext-sensitive
uUnmarkdired-unmarkcontext-sensitive
UUnmark Alldired-unmark-all-markscontext-sensitive
tToggle Marksdired-toggle-marks
rRegexp›casual-dired-regexp-tmenu
#Utils›casual-dired-utils-tmenu
~Flag Backupsdired-flag-backup-files
xDelete Flaggeddired-do-flagged-delete
Navigation

Navigation commands to move the point in Dired are offered here.

KeyLabelUnicodeCommandNotes
^.. Dir.. 📁dired-up-directory
pUp File↑ 📄dired-previous-line
nDown File↓ 📄dired-next-line
M-[Up *File↑ *📄dired-prev-marked-filecontext-sensitive
M-]Down *File↓ *📄dired-next-marked-filecontext-sensitive
M-pUp Dir↑ 📁dired-prev-dirline
M-nDown Dir↓ 📁dired-next-dirline
[Up Subdir↑ 🗂️dired-prev-subdir
]Down Subdir↓ 🗂️dired-next-subdir
jGoto File…→ 📄…dired-goto-file
M-jGoto Subdir…→ 🗂️…dired-goto-subdir
Quick

Convenience commands for bookmarks and listing buffers are made available in this section.

KeyLabelCommand
JJump to Bookmark…bookmark-jump
BAdd Bookmark…bookmark-set-no-overwrite
bList Buffersibuffer
Search

Commands to find a filename via I-Search or to recursively search for pattern inside files contained in a directory tree (rgrep) are made available here.

KeyLabelCommand
C-sFilename I-Search…dired-isearch-filenames
M-sFilename I-Search Regexp…dired-isearch-filenames-regexp
M-fFind in files…rgrep
New

Create a new file or directory with the commands in this section.

KeyLabelCommand
+Directorydired-create-directory
FFiledired-create-empty-file

Note that some commands in this menu are context-sensitive and will only appear if the context is appropriate. Commands relating to marked files, subdirs, and image thumbnails are context-sensitive.

The sections below detail the different sub-menus in casual-dired-tmenu.