Commit c31e6791 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(dired-mode-map): Define up and down arrows like C-p, C-n.

parent 27b18eed
......@@ -780,6 +780,8 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
(define-key dired-mode-map " " 'dired-next-line)
(define-key dired-mode-map "\C-n" 'dired-next-line)
(define-key dired-mode-map "\C-p" 'dired-previous-line)
(define-key dired-mode-map [down] 'dired-next-line)
(define-key dired-mode-map [up] 'dired-previous-line)
;; hiding
(define-key dired-mode-map "$" 'dired-hide-subdir)
(define-key dired-mode-map "\M-$" 'dired-hide-all)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment