all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#52384: 26.3; dired buffer navigation tweak
@ 2021-12-09  0:39 Michael Perry
  2021-12-10  1:36 ` Stefan Kangas
  2021-12-10 12:00 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 26+ messages in thread
From: Michael Perry @ 2021-12-09  0:39 UTC (permalink / raw)
  To: 52384

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

Hello,

When visiting a directory in dired-mode, you get not only a list of contents,
but also a two-line header ('/path/to/directory' and 'total used ...')
and a trailing blank line. Those are a nuisance when navigating using
`M-<` and `M->'.

Can I suggest the following become standard?

(with-eval-after-load "dired"
  (define-key dired-mode-map (kbd "M-<")
    (lambda () (interactive) (beginning-of-buffer) (next-line 2)))
  (define-key dired-mode-map (kbd "M->")
    (lambda () (interactive) (end-of-buffer) (previous-line 1))))

It's truly a small issue, but it's an irritation that multiplies over time.

Thanks for your consideration.

Cheers,
A.M. Perry

[-- Attachment #2: Type: text/html, Size: 2179 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-12-13 17:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09  0:39 bug#52384: 26.3; dired buffer navigation tweak Michael Perry
2021-12-10  1:36 ` Stefan Kangas
2021-12-10  7:13   ` Arthur Miller
2021-12-10 17:11     ` bug#52384: [External] : " Drew Adams
2021-12-10 22:26       ` Arthur Miller
2021-12-10 22:52         ` Drew Adams
2021-12-11 14:08           ` Arthur Miller
2021-12-11 16:41             ` Drew Adams
2021-12-11 19:40       ` Juri Linkov
2021-12-11 22:06         ` Drew Adams
2021-12-12  8:41           ` Juri Linkov
2021-12-12 18:35             ` Drew Adams
2021-12-12 18:52               ` Juri Linkov
2021-12-12 19:15                 ` Arthur Miller
2021-12-12 19:28                   ` Juri Linkov
2021-12-12 19:37                   ` Eli Zaretskii
2021-12-13 10:14                     ` Arthur Miller
2021-12-13 12:24                       ` Stefan Kangas
2021-12-13 16:29                         ` Arthur Miller
2021-12-13 13:07                       ` Eli Zaretskii
2021-12-13 16:21                         ` Arthur Miller
2021-12-13 16:59                           ` Eli Zaretskii
2021-12-13 17:11                             ` Arthur Miller
2021-12-12 19:45                 ` Drew Adams
2021-12-12 20:10                   ` Juri Linkov
2021-12-10 12:00 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.