Add evil-collection.

This commit is contained in:
kj 2022-04-06 22:58:24 -04:00
parent 1ef3e29fd7
commit 662112e6ab

View File

@ -162,11 +162,6 @@
:hook (dired-mode . treemacs-icons-dired-enable-once) :hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t) :ensure t)
(use-package treemacs-magit
:defer t
:after (treemacs magit)
:ensure t)
(use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode (use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode
:defer t :defer t
:after (treemacs persp-mode) ;;or perspective vs. persp-mode :after (treemacs persp-mode) ;;or perspective vs. persp-mode
@ -255,7 +250,6 @@
(setq evil-want-C-i-jump nil) (setq evil-want-C-i-jump nil)
(setq evil-want-fine-undo t) (setq evil-want-fine-undo t)
(setq evil-respect-visual-line-mode t) (setq evil-respect-visual-line-mode t)
(setq evil-undo-system 'undo-redo)
(setq evil-toggle-key "C-'") ; Cambiar toggle-key cambiar entre evil states y emacs. (setq evil-toggle-key "C-'") ; Cambiar toggle-key cambiar entre evil states y emacs.
;; (setq evil-default-state 'emacs) ; Modo por defecto en emacs mode ;; (setq evil-default-state 'emacs) ; Modo por defecto en emacs mode
(define-key evil-normal-state-map (kbd "g b") 'evil-jump-backward) (define-key evil-normal-state-map (kbd "g b") 'evil-jump-backward)
@ -336,6 +330,11 @@
(evil-multiedit-default-keybinds) (evil-multiedit-default-keybinds)
) )
;; evil keybinding
(use-package evil-collection
:custom (evil-collection-setup-minibuffer t)
:init (evil-collection-init))
;; Code Folding ;; Code Folding
(use-package origami (use-package origami
:defer t :defer t