diff options
Diffstat (limited to 'Emacs.org')
-rw-r--r-- | Emacs.org | 37 |
1 files changed, 20 insertions, 17 deletions
@@ -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 | ||