image-dired: Add extra keybinds for navigation

* lisp/image/image-dired.el (image-dired-thumbnail-mode-map):
Bind previously unused keys for alternative navigation.  (Bug#75410)
This commit is contained in:
Gabriel Santos 2025-01-06 16:56:31 -03:00 committed by Stefan Kangas
parent dcc4cec04a
commit 7aa4291728
2 changed files with 14 additions and 0 deletions

View file

@ -430,6 +430,11 @@ default is nil, which retains the old format.
This allows passing a string with wildcards, or a cons cell where the
first element is a list and the rest is a list of files.
*** Bound unused letters in 'image-dired-thumbnail-mode-map'
For a more comfortable navigation experience (as in, no modifier keys),
the keys "f", "b", "n", "p", "a" and "e" are now bound to the
same functions as their C- counterparts.
** Browse URL
*** New user option 'browse-url-transform-alist'.

View file

@ -950,6 +950,15 @@ You probably want to use this together with
(defvar-keymap image-dired-thumbnail-mode-map
:doc "Keymap for `image-dired-thumbnail-mode'."
;; Regular navigation
"f" #'image-dired-forward-image
"b" #'image-dired-backward-image
"n" #'image-dired-next-line
"p" #'image-dired-previous-line
"a" #'image-dired-move-beginning-of-line
"e" #'image-dired-move-end-of-line
"d" #'image-dired-flag-thumb-original-file
"<delete>" #'image-dired-flag-thumb-original-file
"m" #'image-dired-mark-thumb-original-file