aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-09-28 16:29:34 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-09-28 16:32:03 +0100
commitd55c2f8767d903b36494f27c8e32968464cb1c2f (patch)
tree2b586db490cf0c7740f9743ba04c6699561b15a9
parent790d4dc86e66518cef6b8383fd6d0c7e089304ac (diff)
downloaddotfiles-d55c2f8767d903b36494f27c8e32968464cb1c2f.tar.gz
dotfiles-d55c2f8767d903b36494f27c8e32968464cb1c2f.tar.bz2
dotfiles-d55c2f8767d903b36494f27c8e32968464cb1c2f.zip
(Emacs)+binding for image-dired, +binds for image-dired-thumnail-mode
-rw-r--r--Emacs/.config/emacs/config.org14
1 files changed, 13 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 4d32779..8d04478 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1657,10 +1657,10 @@ are some corners I'd like to adjust).
"H" #'dired-up-directory
"L" #'dired-find-file)
(dir-leader
- "w" '(wdired-change-to-wdired-mode :which-key "Write dired")
"f" #'find-dired
"d" #'dired
"D" #'dired-other-frame
+ "i" #'image-dired
"p" `((proc (interactive)
(dired "~/Text/PDFs/"))
:which-key "Open PDFs"))
@@ -1677,6 +1677,18 @@ are some corners I'd like to adjust).
"SPC" nil
"SPC ," nil)
+ (nmmap
+ :keymaps 'image-dired-thumbnail-mode-map
+ "h" #'image-dired-backward-image
+ "l" #'image-dired-forward-image
+ "j" #'image-dired-next-line
+ "k" #'image-dired-previous-line
+ "H" #'image-dired-display-previous
+ "L" #'image-dired-display-next
+ "RET" #'image-dired-display-this
+ "m" #'image-dired-mark-thumb-original-file
+ "q" #'quit-window)
+
(local-leader
:keymaps 'dired-mode-map
"l" #'dired-maybe-insert-subdir