Browse Source

Enable dired-hide-details-mode in dired buffer

pull/5/head
10sr 9 years ago
parent
commit
aa437c279d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

@@ -1843,6 +1843,7 @@ the list."
"%Y-%m-%d "))) "%Y-%m-%d ")))


(setq dired-dwim-target t) (setq dired-dwim-target t)
(setq dired-hide-details-hide-symlink-targets nil)


;; (add-hook 'dired-after-readin-hook ;; (add-hook 'dired-after-readin-hook
;; 'my-replace-nasi-none) ;; 'my-replace-nasi-none)
@@ -1882,6 +1883,7 @@ the list."
(define-key dired-mode-map (kbd "<right>") 'my-dired-scroll-down) (define-key dired-mode-map (kbd "<right>") 'my-dired-scroll-down)
(define-key dired-mode-map (kbd "ESC p") 'my-dired-scroll-up) (define-key dired-mode-map (kbd "ESC p") 'my-dired-scroll-up)
(define-key dired-mode-map (kbd "ESC n") 'my-dired-scroll-down) (define-key dired-mode-map (kbd "ESC n") 'my-dired-scroll-down)
(dired-hide-details-mode t)
(let ((file "._Icon\015")) (let ((file "._Icon\015"))
(when nil (file-readable-p file) (when nil (file-readable-p file)
(delete-file file))))) (delete-file file)))))


Loading…
Cancel
Save