From ecd42e06b288b6374220047256dd04239210e83b Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 15 Dec 2024 19:34:50 -0800 Subject: [PATCH] Fixed dired evil keybindings by removing dired-single --- dotfiles/.emacs.d/config.org | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/dotfiles/.emacs.d/config.org b/dotfiles/.emacs.d/config.org index e8e4004..5b7356b 100644 --- a/dotfiles/.emacs.d/config.org +++ b/dotfiles/.emacs.d/config.org @@ -122,7 +122,7 @@ This package fixes issues with the path on MacOS by pulling the ~$PATH~ variable #+begin_src emacs-lisp (use-package exec-path-from-shell - :init + :config (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize))) #+end_src @@ -532,19 +532,11 @@ Dired is a built-in package in Emacs that allows for basic file navigation. Whil :custom ((dired-listing-switches "-ahgo")) :config (evil-collection-define-key 'normal 'dired-mode-map - "h" 'dired-single-up-directory - "l" 'dired-single-buffer + "h" 'dired-up-directory + "l" 'dired-find-file "T" 'dired-create-empty-file)) #+end_src -*** Dired Single - -Vanilla dired opens a new buffer for every new directory it visits. When managing files, this will quickly fill up resulting in a ridiculous number of buffers. Though, single dired fixes this problem by instead modifying the current buffer when navigating through files. - -#+begin_src emacs-lisp - (use-package dired-single :after dired) -#+end_src - *** All the Icons Dired ~all-the-icons-dired~ is a dired plugin that adds icons to each of the files.