blob: 83aaf371be64dc4ffd404cd495fd3e9c97a08be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;;; rul-fm.el --- File management
;; dired
(add-hook 'dired-mode-hook #'dired-hide-details-mode)
(setq dired-guess-shell-alist-user
'(("\\.\\(png\\|jpe?g\\|tiff\\)" "feh" "xdg-open")
("\\.\\(mp[34]\\|m4a\\|ogg\\|flac\\|webm\\|mkv\\)" "mpv" "xdg-open")
(".*" "xdg-open")))
(setq dired-kill-when-opening-new-dired-buffer t)
(put 'dired-find-alternate-file 'disabled nil)
;;; Icons
(use-package nerd-icons :ensure t )
(use-package nerd-icons-dired :ensure t
:config
(add-hook 'dired-mode-hook #'nerd-icons-dired-mode))
(provide 'rul-fm)
|