From 89ce0a30121e5b3aab71d3b9977a940c4b658fb5 Mon Sep 17 00:00:00 2001
From: Aryadev Chavali <aryadev@aryadevchavali.com>
Date: Wed, 8 May 2024 01:35:25 +0530
Subject: (Emacs/app)~dired-other(frame->window) and added dired-subdir binds

---
 Emacs/.config/emacs/app.org | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

(limited to 'Emacs')

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 ()
-- 
cgit v1.2.3-13-gbd6f