From 6f251694d60c7d05c9fae9c979ae4a8ad9a65288 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 17 Jun 2017 21:03:33 -0400 Subject: [PATCH] Removes redundant buffer creation in Dired --- configs/.emacs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configs/.emacs b/configs/.emacs index 1e4dcdaae..9b8efaa7e 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)