about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-18T01·03-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-18T01·03-0400
commit6f251694d60c7d05c9fae9c979ae4a8ad9a65288 (patch)
tree88afa97462161350a6722ae765199a552c6fb835
parent325985da972ae8f6882a9c1878cb47d898be3c04 (diff)
Removes redundant buffer creation in Dired
-rw-r--r--configs/.emacs9
1 files changed, 8 insertions, 1 deletions
diff --git a/configs/.emacs b/configs/.emacs
index 1e4dcdaae97a..9b8efaa7e70a 100644
--- a/configs/.emacs
+++ b/configs/.emacs
@@ -221,9 +221,15 @@
 
 ;; Dired Settings
 (use-package dired
+  :init
+  (load "~/.emacs.d/wc-dired-functions.lisp")
   :bind (:map dired-mode-map
+              ("e" . wdired-change-to-wdired-mode)
               ("c" . find-file)
-              ("K" . dired-up-directory)))
+              ("RET" . dired-find-alternate-file)
+              ("^" . wc/dired-up-directory))
+  :config
+  (setq wdired-allow-to-change-permissions t))
 
 
 ;; Evil Settings
@@ -549,3 +555,4 @@
 (set-frame-parameter (selected-frame) 'alpha '(100 . 100))
 (add-to-list 'default-frame-alist '(alpha . (100 . 100)))
 (put 'narrow-to-region 'disabled nil)
+(put 'dired-find-alternate-file 'disabled nil)