;;; 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)