mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Fixes ibuffer with evil normal mode
This commit is contained in:
parent
638352f3f9
commit
15a9e1d81b
|
@ -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 "<return>") 'ibuffer-visit-buffer)
|
||||
(evil-set-initial-state 'ibuffer-mode 'normal)
|
||||
|
||||
;;;------ dired configuration ------;;;
|
||||
|
||||
|
|
|
@ -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 "<return>") 'ibuffer-visit-buffer)
|
||||
(evil-set-initial-state 'ibuffer-mode 'normal)
|
||||
|
||||
#+END_SRC
|
||||
** Dired Configuration
|
||||
|
|
Loading…
Reference in a new issue