adding better visibility in dired

This commit is contained in:
Chris Cochrun 2022-11-22 11:36:45 -06:00
parent ff9a02b6c9
commit 754f64e140
2 changed files with 20 additions and 4 deletions

View file

@ -2237,7 +2237,8 @@ I'm making a small function in here to open files in the appropriate program usi
(defun chris/setup-dired () (defun chris/setup-dired ()
"setup dired" "setup dired"
(setq truncate-lines t) (setq truncate-lines t)
(visual-line-mode nil)) (visual-line-mode nil)
(dired-hide-details-mode t))
(setq dired-dwim-target t (setq dired-dwim-target t
delete-by-moving-to-trash t delete-by-moving-to-trash t
@ -2247,7 +2248,6 @@ I'm making a small function in here to open files in the appropriate program usi
(setq dired-hide-details-hide-symlink-targets nil (setq dired-hide-details-hide-symlink-targets nil
dired-kill-when-opening-new-dired-buffer t) dired-kill-when-opening-new-dired-buffer t)
(add-hook 'dired-mode-hook 'chris/setup-dired) (add-hook 'dired-mode-hook 'chris/setup-dired)
;; (remove-hook 'dired-mode-hook #'dired-hide-details-mode)
:general :general
(chris/leader-keys (chris/leader-keys

20
init.el
View file

@ -1482,7 +1482,8 @@ targets."
(defun chris/setup-dired () (defun chris/setup-dired ()
"setup dired" "setup dired"
(setq truncate-lines t) (setq truncate-lines t)
(visual-line-mode nil)) (visual-line-mode nil)
(dired-hide-details-mode t))
(setq dired-dwim-target t (setq dired-dwim-target t
delete-by-moving-to-trash t delete-by-moving-to-trash t
@ -1492,7 +1493,6 @@ targets."
(setq dired-hide-details-hide-symlink-targets nil (setq dired-hide-details-hide-symlink-targets nil
dired-kill-when-opening-new-dired-buffer t) dired-kill-when-opening-new-dired-buffer t)
(add-hook 'dired-mode-hook 'chris/setup-dired) (add-hook 'dired-mode-hook 'chris/setup-dired)
;; (remove-hook 'dired-mode-hook #'dired-hide-details-mode)
:general :general
(chris/leader-keys (chris/leader-keys
@ -2380,3 +2380,19 @@ interfere with the default `bongo-playlist-buffer'."
gcmh-verbose nil)) gcmh-verbose nil))
(setq warning-suppress-types '((comp))) (setq warning-suppress-types '((comp)))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pdf-misc-print-program "/usr/bin/lpr")
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
'(safe-local-variable-values
'((projectile-project-run-cmd . "./build/bin/presenter")
(projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make -j8 --dir build/ && rm -rf ~/.cache/librepresenter/LibrePresenter/qmlcache/"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))