[Dired] Some cleaning up

This commit is contained in:
Daniel - 2018-01-21 14:57:11 +01:00
parent 08927fd0ee
commit b2cc8098a2
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 5 additions and 7 deletions

12
init.el
View File

@ -745,12 +745,14 @@ Certificates are assumed to be of the form *.crt."
:config (progn
(setq dired-dwim-target t)
(put 'dired-find-alternate-file 'disabled nil)
(setq dired-listing-switches "-alLh")
(setq dired-hide-details-hide-information-lines nil)
(setq dired-listing-switches "-alh")
(setq dired-hide-details-hide-information-lines t
dired-hide-details-hide-symlink-targets t)
(setq dired-recursive-copies 'top)
(setq dired-recursive-deletes 'top)
(require 'dired-x)
(require 'dired+)
;; Gnus support in dired
(require 'gnus-dired)
@ -776,7 +778,7 @@ Certificates are assumed to be of the form *.crt."
("\\.\\(?:djvu\\|eps\\)\\'" "evince")
("\\.\\(?:jpg\\|jpeg\\|png\\|gif\\|xpm\\)\\'" "eog")
("\\.\\(?:xcf\\)\\'" "gimp")
("\\.\\(?:mp4\\|mkv\\|avi\\|flv\\|ogv\\)\\(?:\\.part\\)?\\'"
("\\.\\(?:mp4\\|mkv\\|avi\\|flv\\|ogv\\|webm\\)\\(?:\\.part\\)?\\'"
"vlc")
("\\.\\(?:mp3\\|flac\\|ogg\\)\\'" "mplayer")
("\\.html?\\'" "firefox")
@ -784,10 +786,6 @@ Certificates are assumed to be of the form *.crt."
(unbind-key "C-M-o" dired-mode-map)
(require 'dired+)
(custom-set-variables ; needs to be set with custom
'(diredp-hide-details-initially-flag nil))
;; disable exaggerated fontification of dired+
(require 'font-lock)
(add-to-list 'font-lock-maximum-decoration '(wdired-mode . 1))