diff options
-rw-r--r-- | config.org | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config.org b/config.org index e0eed32..8a3dc2c 100644 --- a/config.org +++ b/config.org | |||
@@ -1234,6 +1234,26 @@ This has to be done /before/ loading the package. It's included in =visual-fill | |||
1234 | 1234 | ||
1235 | * Applications | 1235 | * Applications |
1236 | 1236 | ||
1237 | ** Dired | ||
1238 | |||
1239 | *** Expand subtrees | ||
1240 | |||
1241 | |||
1242 | #+BEGIN_SRC emacs-lisp | ||
1243 | (straight-use-package 'dired-subtree) | ||
1244 | |||
1245 | (with-eval-after-load 'dired | ||
1246 | (define-key dired-mode-map "i" #'dired-subtree-toggle)) | ||
1247 | #+end_src | ||
1248 | |||
1249 | *** Collapse singleton directories | ||
1250 | |||
1251 | #+BEGIN_SRC emacs-lisp | ||
1252 | (straight-use-package 'dired-collapse) | ||
1253 | |||
1254 | (add-hook 'dired-mode-hook #'dired-collapse-mode) | ||
1255 | #+end_src | ||
1256 | |||
1237 | ** Org mode | 1257 | ** Org mode |
1238 | 1258 | ||
1239 | I’ve put org mode under Applications, as opposed to Writing, because it’s more generally-applicable than that. | 1259 | I’ve put org mode under Applications, as opposed to Writing, because it’s more generally-applicable than that. |