From 15a9e1d81b875b2ef2bbbc7824b3d0d35db0ebc0 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 17 Jun 2024 13:18:16 -0500 Subject: [PATCH] Fixes ibuffer with evil normal mode --- user/app/doom-emacs/config.el | 8 +------- user/app/doom-emacs/doom.org | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 6c3742b..9d3cbcf 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -1249,13 +1249,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." (require 'all-the-icons-ibuffer) (add-hook 'ibuffer-mode-hook #'all-the-icons-ibuffer-mode) (setq all-the-icons-ibuffer-color-icon t) -(evil-set-initial-state 'ibuffer-mode 'motion) -(evil-define-key 'motion 'ibuffer-mode - "j" 'evil-next-visual-line - "k" 'evil-previous-visual-line - "d" 'ibuffer-mark-for-delete - "q" 'kill-buffer - (kbd "") 'ibuffer-visit-buffer) +(evil-set-initial-state 'ibuffer-mode 'normal) ;;;------ dired configuration ------;;; diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index f867db0..e47909b 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1467,13 +1467,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." (require 'all-the-icons-ibuffer) (add-hook 'ibuffer-mode-hook #'all-the-icons-ibuffer-mode) (setq all-the-icons-ibuffer-color-icon t) -(evil-set-initial-state 'ibuffer-mode 'motion) -(evil-define-key 'motion 'ibuffer-mode - "j" 'evil-next-visual-line - "k" 'evil-previous-visual-line - "d" 'ibuffer-mark-for-delete - "q" 'kill-buffer - (kbd "") 'ibuffer-visit-buffer) +(evil-set-initial-state 'ibuffer-mode 'normal) #+END_SRC ** Dired Configuration