summaryrefslogtreecommitdiffstats
path: root/Emacs.org
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2022-09-21 23:05:13 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2022-09-21 23:05:13 +0200
commit7576787242f9a7834c6acd29657150d03f51f0d9 (patch)
tree898d13fcddba2c8587cedb5ab79dc5bff1a5a91a /Emacs.org
parent801cd6dfd4fbed882095bec66e5335f3c154606a (diff)
downloaddotfiles-7576787242f9a7834c6acd29657150d03f51f0d9.tar.gz
dotfiles-7576787242f9a7834c6acd29657150d03f51f0d9.zip
Improve dired workflow
Diffstat (limited to 'Emacs.org')
-rw-r--r--Emacs.org37
1 files changed, 20 insertions, 17 deletions
diff --git a/Emacs.org b/Emacs.org
index 3b24b1b..89fb2e5 100644
--- a/Emacs.org
+++ b/Emacs.org
@@ -886,24 +886,27 @@
886 886
887#+begin_src emacs-lisp 887#+begin_src emacs-lisp
888 888
889 (use-package all-the-icons-dired 889 (use-package all-the-icons-dired
890 :hook (dired-mode . all-the-icons-dired-mode)) 890 :hook (dired-mode . all-the-icons-dired-mode))
891
892 (use-package dired-ranger)
893
894 (use-package dired-single)
895
896 (use-package dired
897 :ensure nil
898 :commands (dired dired-jump)
899 :custom ((dired-listing-switches "-agho --group-directories-first"))
900 :config
901 (evil-collection-define-key 'normal 'dired-mode-map
902 "y" 'dired-ranger-copy
903 "p" 'dired-ranger-paste
904 "X" 'dired-ranger-move
905 "h" 'dired-up-directory
906 "l" 'dired-single-buffer)
907 (setq dired-kill-when-opening-new-dired-buffer t)
908 (evil-define-key 'normal dired-mode-map (kbd "q") 'kill-current-buffer))
891 909
892 (use-package dired-ranger)
893
894 (use-package dired-single)
895
896 (use-package dired
897 :ensure nil
898 :commands (dired dired-jump)
899 :custom ((dired-listing-switches "-agho --group-directories-first"))
900 :config
901 (evil-collection-define-key 'normal 'dired-mode-map
902 "y" 'dired-ranger-copy
903 "p" 'dired-ranger-paste
904 "X" 'dired-ranger-move
905 "h" 'dired-up-directory
906 "l" 'dired-single-buffer))
907 910
908#+end_src 911#+end_src
909 912