 
 ;; A few extra key bindings:
 (evil-leader/set-key-for-mode 'dired-mode
+  "b w"   #'pjones:dired-toggle-wdired
   "f f"   (pjones:dired-cwd-do 'find-file)
   "m G"   #'dired-do-chgrp
   "m / n" #'dired-filter-by-name

;; Settings for `dired-mode'.

;;; Code:
(require 'dired)
(require 'dired-x)
(require 'evil)
(require 'evil-leader)

(eval-when-compile
  (require 'dired-filter)
  (require 'dired-narrow)
  (require 'dired-subtree)
  (require 'dired-x)
  (require 'noccur)

  (load
   (concat
    (file-name-directory

  "]]" #'dired-subtree-down
  "gq" #'dired-do-query-replace-regexp
  "gr" #'revert-buffer
  "go" #'noccur-dired
  "o"  #'dired-sort-toggle-or-edit)

(evil-set-initial-state 'wdired-mode 'normal)

(defun pjones:dired-copy-filename-as-kill (&optional path)
  "Copy file name or entire PATH."
