summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.org b/config.org index 0b88d0f..c0c3027 100644 --- a/config.org +++ b/config.org
@@ -1304,6 +1304,12 @@ This has to be done /before/ loading the package. It's included in =visual-fill
1304 #+BEGIN_SRC emacs-lisp 1304 #+BEGIN_SRC emacs-lisp
1305 ;; highlight the current line in dired. 1305 ;; highlight the current line in dired.
1306 (add-hook 'dired-mode-hook #'hl-line-mode) 1306 (add-hook 'dired-mode-hook #'hl-line-mode)
1307
1308 (cuss dired-recursive-copies 'always
1309 "Always recursively copy.")
1310
1311 (cuss dired-listing-switches "-alh"
1312 "Show All items, Listed out, with Human-readable sizes.")
1307 #+end_src 1313 #+end_src
1308 1314
1309*** Expand subtrees 1315*** Expand subtrees
@@ -1324,6 +1330,20 @@ This has to be done /before/ loading the package. It's included in =visual-fill
1324 (add-hook 'dired-mode-hook #'dired-collapse-mode) 1330 (add-hook 'dired-mode-hook #'dired-collapse-mode)
1325 #+end_src 1331 #+end_src
1326 1332
1333*** Kill dired buffers
1334
1335from [[https://github.com/munen/emacs.d/][munen]].
1336
1337#+BEGIN_SRC emacs-lisp
1338 (defun kill-dired-buffers ()
1339 "Kill all open dired buffers."
1340 (interactive)
1341 (mapc (lambda (buffer)
1342 (when (eq 'dired-mode (buffer-local-value 'major-mode buffer))
1343 (kill-buffer buffer)))
1344 (buffer-list)))
1345#+end_src
1346
1327** Org mode 1347** Org mode
1328 1348
1329I’ve put org mode under Applications, as opposed to Writing, because it’s more generally-applicable than that. 1349I’ve put org mode under Applications, as opposed to Writing, because it’s more generally-applicable than that.