diff options
-rw-r--r-- | .config/emacs/init.el | 4 | ||||
-rw-r--r-- | Emacs.org | 37 |
2 files changed, 23 insertions, 18 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index c33d57c..363c125 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el | |||
@@ -567,7 +567,9 @@ | |||
567 | "p" 'dired-ranger-paste | 567 | "p" 'dired-ranger-paste |
568 | "X" 'dired-ranger-move | 568 | "X" 'dired-ranger-move |
569 | "h" 'dired-up-directory | 569 | "h" 'dired-up-directory |
570 | "l" 'dired-single-buffer)) | 570 | "l" 'dired-single-buffer |
571 | "q" 'kill-current-buffer) | ||
572 | (setq dired-kill-when-opening-new-dired-buffer t)) | ||
571 | 573 | ||
572 | (use-package emms | 574 | (use-package emms |
573 | :config | 575 | :config |
@@ -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 | ||