diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:35:25 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:35:25 +0530 |
commit | 89ce0a30121e5b3aab71d3b9977a940c4b658fb5 (patch) | |
tree | 2ad2c03e199128dc5fd187ee9d4ed84fffbd0784 /Emacs/.config/emacs/app.org | |
parent | d4f4169b9c6fca694094df1443adb787b9894e4a (diff) | |
download | dotfiles-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/emacs/app.org')
-rw-r--r-- | Emacs/.config/emacs/app.org | 17 |
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 () |