+dired setup in core

This commit is contained in:
2020-08-23 17:16:09 +01:00
parent 97ba4c8bcf
commit d20e1907f0

View File

@@ -506,7 +506,7 @@ to use ido here) and allows you to switch between them.
(use-package amx (use-package amx
:hook (after-init-hook . amx-mode)) :hook (after-init-hook . amx-mode))
#+end_src #+end_src
* Dired ** Dired
Setup for dired. Firstly, as it's an inbuilt package don't let Setup for dired. Firstly, as it's an inbuilt package don't let
straight try and download it. Make dired-hide-details-mode the straight try and download it. Make dired-hide-details-mode the
default mode when dired-mode, as it removes the clutter. Create a default mode when dired-mode, as it removes the clutter. Create a
@@ -518,15 +518,16 @@ I'd like to adjust)
(use-package dired (use-package dired
:straight nil :straight nil
:hook (dired-mode-hook . dired-hide-details-mode) :hook (dired-mode-hook . dired-hide-details-mode)
:after evil-collection
:general :general
(leader (leader
:infix "d" :infix "d"
"f" #'find-dired "f" #'find-dired
"D" #'dired-other-window "D" #'dired-other-frame
"d" #'dired-jump) "d" #'dired-jump)
:config :config
(evil-collection-dired-setup)) (with-eval-after-load "evil-collection"
(evil-collection-dired-setup)))
#+end_src
#+end_src #+end_src
* Hydra * Hydra
Use hydras for stuff that I use often, currently buffer manipulation Use hydras for stuff that I use often, currently buffer manipulation