aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-08 01:35:25 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-08 01:35:25 +0530
commit89ce0a30121e5b3aab71d3b9977a940c4b658fb5 (patch)
tree2ad2c03e199128dc5fd187ee9d4ed84fffbd0784 /Emacs/.config
parentd4f4169b9c6fca694094df1443adb787b9894e4a (diff)
downloaddotfiles-89ce0a30121e5b3aab71d3b9977a940c4b658fb5.tar.gz
dotfiles-89ce0a30121e5b3aab71d3b9977a940c4b658fb5.tar.bz2
dotfiles-89ce0a30121e5b3aab71d3b9977a940c4b658fb5.zip
(Emacs/app)~dired-other(frame->window) and added dired-subdir binds
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/app.org17
1 files changed, 10 insertions, 7 deletions
diff --git a/Emacs/.config/emacs/app.org b/Emacs/.config/emacs/app.org
index 6357b93..63434ab 100644
--- a/Emacs/.config/emacs/app.org
+++ b/Emacs/.config/emacs/app.org
@@ -208,11 +208,20 @@ are some corners I'd like to adjust).
(dir-leader
"f" #'find-dired
"d" #'dired
- "D" #'dired-other-frame
+ "D" #'dired-other-window
"i" #'image-dired
"p" `(,(proc (interactive)
(dired "~/Text/PDFs/"))
:which-key "Open PDFs"))
+ (local-leader
+ :keymaps 'dired-mode-map
+ "i" #'dired-maybe-insert-subdir
+ "I" #'+dired/insert-all-subdirectories
+ "k" #'dired-prev-subdir
+ "j" #'dired-next-subdir
+ "K" #'dired-kill-subdir
+ "m" #'dired-mark-files-regexp
+ "u" #'dired-undo)
(nmmap
:keymaps 'image-dired-thumbnail-mode-map
"h" #'image-dired-backward-image
@@ -224,12 +233,6 @@ are some corners I'd like to adjust).
"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
- "m" #'dired-mark-files-regexp
- "u" #'dired-undo))
:config
(add-to-list 'dired-guess-shell-alist-user '("\\.pdf\\'" "zathura"))
(defun +dired/insert-all-subdirectories ()