about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el
blob: 6639ea53060412a5f273c18dee39bdd8e39237a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;;; dired.el --- My dired preferences -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>

;;; Commentary:
;; Hosts my attempts at configuring dired

;;; Code:

(require 'dired)
(general-nmap
  :keymaps 'dired-mode-map
  "c" #'find-file
  "f" #'wpc/find-file
  "-" #'dired-up-directory)
(general-unbind
  :keymaps 'dired-mode-map
  "s")
(general-add-hook 'dired-mode-hook (list (enable dired-hide-details-mode)
                                         #'auto-revert-mode))

(provide 'wpc-dired)
;;; wpc-dired.el ends here