dired-mode-map
dired-mode-map is a variable defined in `
dired.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Local keymap for Dired mode buffers.
Value:
(keymap
#^[nil nil keymap
#^^[3 0 nil nil nil nil nil nil nil nil nil nil nil nil nil dired-find-file nil dired-display-file nil nil nil nil
(keymap
(119 . thumbs-dired-setroot)
(109 . thumbs-dired-show-marked)
(101 . image-dired-dired-edit-comment-and-tags)
(20 . image-dired-dired-toggle-marked-thumbs)
(102 . image-dired-mark-tagged-files)
(99 . image-dired-dired-comment-files)
(46 . image-dired-display-thumb)
(97 . thumbs-dired-show)
(120 . image-dired-dired-display-external)
(105 . image-dired-dired-display-image)
(106 . image-dired-jump-thumbnail-buffer)
(114 . image-dired-delete-tag)
(116 . image-dired-tag-files)
(100 . image-dired-display-thumbs))
nil nil nil
(keymap
(27 keymap
(111 . dired-omit-mode)))
nil nil
(keymap
(71 . dired-goto-subdir)
(33 . dired-smart-shell-command)
(40 . dired-mark-sexp)
(115 keymap
(102 keymap
(27 keymap
(19 . dired-isearch-filenames-regexp))
(19 . dired-isearch-filenames))
(97 keymap
(27 keymap
(19 . dired-do-isearch-regexp))
(19 . dired-do-isearch)))
(36 . dired-hide-all)
(125 . dired-next-marked-file)
(123 . dired-prev-marked-file)
(16 . dired-prev-subdir)
(14 . dired-next-subdir)
(21 . dired-tree-up)
(4 . dired-tree-down)
(127 . dired-unmark-all-files))
nil nil nil nil dired-next-line dired-do-shell-command nil dired-flag-auto-save-files dired-hide-subdir
(keymap
(89 . dired-do-relsymlink-regexp)
(38 . dired-flag-garbage-files)
(83 . dired-do-symlink-regexp)
(82 . dired-do-rename-regexp)
(72 . dired-do-hardlink-regexp)
(67 . dired-do-copy-regexp)
(114 . dired-do-rename-regexp)
(109 . dired-mark-files-regexp)
(103 . dired-mark-files-containing-regexp)
(100 . dired-flag-files-regexp)
(108 . dired-downcase)
(117 . dired-upcase))
dired-do-async-shell-command nil dired-hide-details-mode nil
(keymap
(46 . dired-mark-extension)
(40 . dired-mark-sexp)
(79 . dired-mark-omitted)
(116 . dired-toggle-marks)
(16 . dired-prev-marked-file)
(14 . dired-next-marked-file)
(127 . dired-unmark-backward)
(33 . dired-unmark-all-marks)
(63 . dired-unmark-all-files)
(117 . dired-unmark)
(109 . dired-mark)
(115 . dired-mark-subdir-files)
(99 . dired-change-marks)
(37 . dired-mark-files-regexp)
(64 . dired-mark-symlinks)
(47 . dired-mark-directories)
(42 . dired-mark-executables))
dired-create-directory nil nil dired-clean-directory nil nil nil nil nil nil nil nil nil nil nil
(keymap
(101 . epa-dired-do-encrypt)
(115 . epa-dired-do-sign)
(118 . epa-dired-do-verify)
(100 . epa-dired-do-decrypt))
nil dired-prev-dirline dired-diff dired-next-dirline dired-summary nil dired-do-search dired-do-byte-compile dired-do-copy dired-do-delete nil dired-do-find-marked-files dired-do-chgrp dired-do-hardlink dired-info nil nil dired-do-load dired-do-chmod dired-man dired-do-chown dired-do-print dired-do-query-replace-regexp dired-do-rename dired-do-symlink dired-do-touch dired-unmark-all-marks dired-do-run-mail woman-dired-find-file dired-do-shell-command dired-do-relsymlink dired-do-compress nil nil nil dired-up-directory nil nil dired-find-alternate-file nil nil dired-flag-file-deletion dired-find-file dired-find-file revert-buffer nil dired-maybe-insert-subdir dired-goto-file dired-do-kill-lines dired-do-redisplay dired-mark dired-next-line dired-find-file-other-window dired-previous-line nil nil dired-sort-toggle-or-edit dired-toggle-marks dired-unmark dired-view-file dired-copy-filename-as-kill dired-do-flagged-delete dired-show-file-type nil nil nil nil dired-flag-backup-files dired-unmark-backward]
#^^[1 0
#^^[2 0
#^^[3 0 nil nil nil nil nil nil nil nil nil nil nil nil nil dired-find-file nil dired-display-file nil nil nil nil
(keymap
(119 . thumbs-dired-setroot)
(109 . thumbs-dired-show-marked)
(101 . image-dired-dired-edit-comment-and-tags)
(20 . image-dired-dired-toggle-marked-thumbs)
(102 . image-dired-mark-tagged-files)
(99 . image-dired-dired-comment-files)
(46 . image-dired-display-thumb)
(97 . thumbs-dired-show)
(120 . image-dired-dired-display-external)
(105 . image-dired-dired-display-image)
(106 . image-dired-jump-thumbnail-buffer)
(114 . image-dired-delete-tag)
(116 . image-dired-tag-files)
(100 . image-dired-display-thumbs))
nil nil nil
(keymap
(27 keymap
(111 . dired-omit-mode)))
nil nil
(keymap
(71 . dired-goto-subdir)
(33 . dired-smart-shell-command)
(40 . dired-mark-sexp)
(115 keymap
(102 keymap
(27 keymap
(19 . dired-isearch-filenames-regexp))
(19 . dired-isearch-filenames))
(97 keymap
(27 keymap
(19 . dired-do-isearch-regexp))
(19 . dired-do-isearch)))
(36 . dired-hide-all)
(125 . dired-next-marked-file)
(123 . dired-prev-marked-file)
(16 . dired-prev-subdir)
(14 . dired-next-subdir)
(21 . dired-tree-up)
(4 . dired-tree-down)
(127 . dired-unmark-all-files))
nil nil nil nil dired-next-line dired-do-shell-command nil dired-flag-auto-save-files dired-hide-subdir
(keymap
(89 . dired-do-relsymlink-regexp)
(38 . dired-flag-garbage-files)
(83 . dired-do-symlink-regexp)
(82 . dired-do-rename-regexp)
(72 . dired-do-hardlink-regexp)
(67 . dired-do-copy-regexp)
(114 . dired-do-rename-regexp)
(109 . dired-mark-files-regexp)
(103 . dired-mark-files-containing-regexp)
(100 . dired-flag-files-regexp)
(108 . dired-downcase)
(117 . dired-upcase))
dired-do-async-shell-command nil dired-hide-details-mode nil
(keymap
(46 . dired-mark-extension)
(40 . dired-mark-sexp)
(79 . dired-mark-omitted)
(116 . dired-toggle-marks)
(16 . dired-prev-marked-file)
(14 . dired-next-marked-file)
(127 . dired-unmark-backward)
(33 . dired-unmark-all-marks)
(63 . dired-unmark-all-files)
(117 . dired-unmark)
(109 . dired-mark)
(115 . dired-mark-subdir-files)
(99 . dired-change-marks)
(37 . dired-mark-files-regexp)
(64 . dired-mark-symlinks)
(47 . dired-mark-directories)
(42 . dired-mark-executables))
dired-create-directory nil nil dired-clean-directory nil nil nil nil nil nil nil nil nil nil nil
(keymap
(101 . epa-dired-do-encrypt)
(115 . epa-dired-do-sign)
(118 . epa-dired-do-verify)
(100 . epa-dired-do-decrypt))
nil dired-prev-dirline dired-diff dired-next-dirline dired-summary nil dired-do-search dired-do-byte-compile dired-do-copy dired-do-delete nil dired-do-find-marked-files dired-do-chgrp dired-do-hardlink dired-info nil nil dired-do-load dired-do-chmod dired-man dired-do-chown dired-do-print dired-do-query-replace-regexp dired-do-rename dired-do-symlink dired-do-touch dired-unmark-all-marks dired-do-run-mail woman-dired-find-file dired-do-shell-command dired-do-relsymlink dired-do-compress nil nil nil dired-up-directory nil nil dired-find-alternate-file nil nil dired-flag-file-deletion dired-find-file dired-find-file revert-buffer nil dired-maybe-insert-subdir dired-goto-file dired-do-kill-lines dired-do-redisplay dired-mark dired-next-line dired-find-file-other-window dired-previous-line nil nil dired-sort-toggle-or-edit dired-toggle-marks dired-unmark dired-view-file dired-copy-filename-as-kill dired-do-flagged-delete dired-show-file-type nil nil nil nil dired-flag-backup-files dired-unmark-backward]
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]
(menu-bar keymap
(operate "Operate" keymap
(copy menu-item "Copy to..." dired-do-copy :help "Copy current file or all marked files")
(rename menu-item "Rename to..." dired-do-rename :help "Rename current file or move marked files")
(delete menu-item "Delete" dired-do-delete :help "Delete current file or all marked files")
(Find\ Files menu-item "Find Files" dired-do-find-marked-files :help "Find current or marked files")
(command menu-item "Shell Command..." dired-do-shell-command :help "Run a shell command on current or marked files")
(async-command menu-item "Asynchronous Shell Command..." dired-do-async-shell-command :help "Run a shell command asynchronously on current or marked files")
(symlink menu-item "Symlink to..." dired-do-symlink :visible
(fboundp 'make-symbolic-link)
:help "Make symbolic links for current or marked files")
(Relative\ Symlink\ to\.\.\. menu-item "Relative Symlink to..." dired-do-relsymlink :visible
(fboundp 'make-symbolic-link)
:help "Make relative symbolic links for current or marked files")
(hardlink menu-item "Hardlink to..." dired-do-hardlink :help "Make hard links for current or marked files")
(print menu-item "Print..." dired-do-print :help "Ask for print command and print marked files")
(compress menu-item "Compress" dired-do-compress :help "Compress/uncompress marked files")
(compile menu-item "Byte-compile" dired-do-byte-compile :help "Byte-compile marked Emacs Lisp files")
(load menu-item "Load" dired-do-load :help "Load marked Emacs Lisp files")
(touch menu-item "Change Timestamp..." dired-do-touch :help "Change timestamp of marked files")
(chmod menu-item "Change Mode..." dired-do-chmod :help "Change mode (attributes) of marked files")
(chgrp menu-item "Change Group..." dired-do-chgrp :visible
(not
(memq system-type
'(ms-dos windows-nt)))
:help "Change the group of marked files")
(chown menu-item "Change Owner..." dired-do-chown :visible
(not
(memq system-type
'(ms-dos windows-nt)))
:help "Change the owner of marked files")
(isearch menu-item "Isearch Files..." dired-do-isearch :help "Incrementally search marked files for string")
(isearch-regexp menu-item "Isearch Regexp Files..." dired-do-isearch-regexp :help "Incrementally search marked files for regexp")
(search menu-item "Search Files..." dired-do-search :help "Search marked files for regexp")
(query-replace menu-item "Query Replace in Files..." dired-do-query-replace-regexp :help "Replace regexp in marked files")
(dashes-3 "--")
(epa-dired-do-encrypt menu-item "Encrypt..." epa-dired-do-encrypt :help "Encrypt current or marked files")
(epa-dired-do-sign menu-item "Sign..." epa-dired-do-sign :help "Create digital signature of current or marked files")
(epa-dired-do-verify menu-item "Verify" epa-dired-do-verify :help "Verify digital signature of current or marked files")
(epa-dired-do-decrypt menu-item "Decrypt..." epa-dired-do-decrypt :help "Decrypt current or marked files")
(dashes-4 "--")
(image-dired-display-thumbs menu-item "Display Image Thumbnails" image-dired-display-thumbs :help "Display image thumbnails for current or marked image files")
(image-dired-dired-comment-files menu-item "Add Image Comment..." image-dired-dired-comment-files :help "Add image comment to current or marked files")
(image-dired-tag-files menu-item "Add Image Tags..." image-dired-tag-files :help "Add image tags to current or marked files")
(image-dired-delete-tag menu-item "Delete Image Tag..." image-dired-delete-tag :help "Delete image tag from current or marked files")
"Operate")
(mark "Mark" keymap
(toggle-marks menu-item "Toggle Marks" dired-toggle-marks :help "Mark unmarked files, unmark marked ones")
(mark menu-item "Mark" dired-mark :help "Mark current line's file for future operations")
(unmark menu-item "Unmark" dired-unmark :help "Unmark or unflag current line's file")
(deletion menu-item "Flag" dired-flag-file-deletion :help "Flag current line's file for deletion")
(auto-save-files menu-item "Flag Auto-save Files" dired-flag-auto-save-files :help "Flag auto-save files for deletion")
(backup-files menu-item "Flag Backup Files" dired-flag-backup-files :help "Flag all backup files for deletion")
(garbage-files menu-item "Flag Garbage Files" dired-flag-garbage-files :help "Flag unneeded files for deletion")
(Flag\ Extension\.\.\. menu-item "Flag Extension..." dired-flag-extension :help "Flag files with a certain extension for deletion")
(executables menu-item "Mark Executables" dired-mark-executables :help "Mark all executable files")
(directory menu-item "Mark Old Backups" dired-clean-directory :help "Flag old numbered backups for deletion")
(directories menu-item "Mark Directories" dired-mark-directories :help "Mark all directories except `.' and `..'")
(symlinks menu-item "Mark Symlinks" dired-mark-symlinks :visible
(fboundp 'make-symbolic-link)
:help "Mark all symbolic links")
(Mark\ Extension\.\.\. menu-item "Mark Extension..." dired-mark-extension :help "Mark files with a certain extension")
(Mark\ Omitted menu-item "Mark Omitted" dired-mark-omitted :help "Mark files matching `dired-omit-files' and `dired-omit-extensions'")
(unmark-all menu-item "Unmark All" dired-unmark-all-marks)
(marks menu-item "Change Marks..." dired-change-marks :help "Replace marker with another character")
(next menu-item "Next Marked" dired-next-marked-file :help "Move to next marked file")
(prev menu-item "Previous Marked" dired-prev-marked-file :help "Move to previous marked file")
"Mark")
(regexp "Regexp" keymap
(mark-cont menu-item "Mark Containing..." dired-mark-files-containing-regexp :help "Mark files whose contents matches regexp")
(mark menu-item "Mark..." dired-mark-files-regexp :help "Mark files matching regexp for future operations")
(flag menu-item "Flag..." dired-flag-files-regexp :help "Flag files matching regexp for deletion")
(copy menu-item "Copy..." dired-do-copy-regexp :help "Copy marked files matching regexp")
(rename menu-item "Rename..." dired-do-rename-regexp :help "Rename marked files matching regexp")
(symlink menu-item "Symlink..." dired-do-symlink-regexp :visible
(fboundp 'make-symbolic-link)
:help "Make symbolic links for files matching regexp")
(Relative\ Symlink\.\.\. menu-item "Relative Symlink..." dired-do-relsymlink-regexp :visible
(fboundp 'make-symbolic-link)
:help "Make relative symbolic links for files matching regexp")
(hardlink menu-item "Hardlink..." dired-do-hardlink-regexp :help "Make hard links for files matching regexp")
(upcase menu-item "Upcase" dired-upcase :enable
(or
(not
(fboundp 'msdos-long-file-names))
(msdos-long-file-names))
:help "Rename marked files to upper-case name")
(downcase menu-item "Downcase" dired-downcase :enable
(or
(not
(fboundp 'msdos-long-file-names))
(msdos-long-file-names))
:help "Rename marked files to lower-case name")
(dashes-1 "--")
(image-dired-mark-tagged-files menu-item "Mark From Image Tag..." image-dired-mark-tagged-files :help "Mark files whose image tags matches regexp")
"Regexp")
(immediate "Immediate" keymap
(wdired-mode menu-item "Edit File Names" wdired-change-to-wdired-mode :help "Put a Dired buffer in a mode in which filenames are editable" :keys "C-x C-q" :filter
(lambda
(x)
(if
(eq major-mode 'dired-mode)
x)))
(create-directory menu-item "Create Directory..." dired-create-directory :help "Create a directory")
(find-file menu-item "Find This File" dired-find-file :help "Edit file at cursor")
(find-file-other-window menu-item "Find in Other Window" dired-find-file-other-window :help "Edit file at cursor in other window")
(display menu-item "Display in Other Window" dired-display-file :help "Display file at cursor in other window")
(view menu-item "View This File" dired-view-file :help "Examine file at cursor in read-only mode")
(woman "Read Man Page (WoMan)" . woman-dired-find-file)
(diff menu-item "Diff..." dired-diff :help "Compare file at cursor with another file")
(backup-diff menu-item "Compare with Backup" dired-backup-diff :help "Diff file at cursor with its latest backup")
(compare-directories menu-item "Compare Directories..." dired-compare-directories :help "Mark files with different attributes in two Dired buffers")
(isearch-filenames menu-item "Isearch in File Names..." dired-isearch-filenames :help "Incrementally search for string in file names only.")
(isearch-filenames-regexp menu-item "Isearch Regexp in File Names..." dired-isearch-filenames-regexp :help "Incrementally search for regexp in file names only")
(dashes "--")
(Omit\ Mode menu-item "Omit Mode" dired-omit-mode :button
(:toggle . dired-omit-mode)
:help "Enable or disable omitting \"uninteresting\" files")
(revert-buffer menu-item "Refresh" revert-buffer :help "Update contents of shown directories")
(hide-details menu-item "Hide Details" dired-hide-details-mode :help "Hide details in buffer" :button
(:toggle . dired-hide-details-mode))
(image-dired-dired-toggle-marked-thumbs menu-item "Toggle Image Thumbnails in This Buffer" image-dired-dired-toggle-marked-thumbs :help "Add or remove image thumbnails in front of marked file names")
(image-dired-dired-display-image menu-item "Display Image" image-dired-dired-display-image :help "Display sized image in a separate window")
(image-dired-dired-display-external menu-item "Display Image Externally" image-dired-dired-display-external :help "Display image in external viewer")
"Immediate")
(subdir "Subdir" keymap
(insert menu-item "Insert This Subdir" dired-maybe-insert-subdir :help "Insert contents of subdirectory" :enable
(let
((f
(dired-get-filename nil t)))
(and f
(file-directory-p f))))
(next-dirline menu-item "Next Dirline" dired-next-dirline :help "Move to previous directory-file line")
(prev-dirline menu-item "Prev Dirline" dired-prev-dirline :help "Move to next directory-file line")
(next-subdir menu-item "Next Subdir" dired-next-subdir :help "Go to next subdirectory header line")
(prev-subdir menu-item "Prev Subdir" dired-prev-subdir :help "Go to previous subdirectory header line")
(up menu-item "Up Directory" dired-up-directory :help "Edit the parent directory")
(tree-up menu-item "Tree Up" dired-tree-up :help "Go to first subdirectory header up the tree")
(tree-down menu-item "Tree Down" dired-tree-down :help "Go to first subdirectory header down the tree")
(hide-subdir menu-item "Hide/UnHide Subdir" dired-hide-subdir :help "Hide or unhide current directory listing")
(hide-all menu-item "Hide All" dired-hide-all :help "Hide all subdirectories, leave only header lines")
"Subdir"))
(remap keymap
(advertised-undo . dired-undo)
(undo . dired-undo)
(toggle-read-only . dired-toggle-read-only)
(read-only-mode . dired-toggle-read-only)
(previous-line . dired-previous-line)
(next-line . dired-next-line))
(follow-link . mouse-face)
(mouse-2 . dired-mouse-find-file-other-window)
keymap
(103 . revert-buffer)
(60 . beginning-of-buffer)
(62 . end-of-buffer)
(104 . describe-mode)
(63 . describe-mode)
(127 . scroll-down-command)
(33554464 . scroll-down-command)
(32 . scroll-up-command)
(113 . quit-window)
(57 . digit-argument)
(56 . digit-argument)
(55 . digit-argument)
(54 . digit-argument)
(53 . digit-argument)
(52 . digit-argument)
(51 . digit-argument)
(50 . digit-argument)
(49 . digit-argument)
(48 . digit-argument)
(45 . negative-argument)
(remap keymap
(self-insert-command . undefined)))