diff options
author | Case Duckworth | 2021-08-25 23:04:42 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-25 23:04:42 -0500 |
commit | 5aeaa234e172a932b13c7a489c1f3cb4b0931887 (patch) | |
tree | 5472d0fcf4651df9035dd75364e24369164b907a | |
parent | Change font back to default to DejaVu Sans (diff) | |
download | emacs-5aeaa234e172a932b13c7a489c1f3cb4b0931887.tar.gz emacs-5aeaa234e172a932b13c7a489c1f3cb4b0931887.zip |
Rearrange dired stuff
-rw-r--r-- | init.el | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/init.el b/init.el index 728bfdd..3d739ef 100644 --- a/init.el +++ b/init.el | |||
@@ -168,9 +168,7 @@ | |||
168 | hardlink load move | 168 | hardlink load move |
169 | shell touch symlink) | 169 | shell touch symlink) |
170 | dired-dwim-target t) | 170 | dired-dwim-target t) |
171 | 171 | ||
172 | (:also-load dired-x) | ||
173 | |||
174 | (:hook dired-hide-details-mode | 172 | (:hook dired-hide-details-mode |
175 | hl-line-mode) | 173 | hl-line-mode) |
176 | 174 | ||
@@ -182,22 +180,22 @@ | |||
182 | (:bind "RET" dired-w32-browser)) | 180 | (:bind "RET" dired-w32-browser)) |
183 | (:home (:straight dired-open) | 181 | (:home (:straight dired-open) |
184 | (require 'dired-open) | 182 | (require 'dired-open) |
185 | (:bind "RET" dired-find-alternate-file) | 183 | (:bind "RET" dired-find-alternate-file))) |
186 | (:option (prepend dired-open-functions) #'dired-open-xdg))) | 184 | |
187 | 185 | (with-eval-after-load 'dired | |
188 | (:when-loaded | 186 | (require 'dired-x) |
189 | (:straight dired-subtree) | 187 | (:straight dired-subtree) |
190 | (:bind "i" dired-subtree-toggle | 188 | (:bind "i" dired-subtree-toggle |
191 | "TAB" dired-subtree-cycle) | 189 | "TAB" dired-subtree-cycle) |
192 | 190 | ||
193 | (:straight dired-collapse) | 191 | (:straight dired-collapse) |
194 | (:hook dired-collapse-mode) | 192 | (:hook dired-collapse-mode) |
195 | 193 | ||
196 | (:straight dired-git-info) | 194 | (:straight dired-git-info) |
197 | (:bind ")" dired-git-info-mode) | 195 | (:bind ")" dired-git-info-mode) |
198 | 196 | ||
199 | (:straight trashed) | 197 | (:straight trashed) |
200 | (:option trashed-action-confirmer #'y-or-n-p))) | 198 | (:option trashed-action-confirmer #'y-or-n-p))) |
201 | 199 | ||
202 | (setup disabled | 200 | (setup disabled |
203 | ;; While this stuff is defined in novice.el, I'm using 'disabled' as the name | 201 | ;; While this stuff is defined in novice.el, I'm using 'disabled' as the name |