emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit 82a4d077083ed38da093172dc84f807a8fb6d2eb
parent 95bb5d58c50894f7ceca16bf706e6e0735d0aeb8
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  2 Mar 2020 08:58:31 +0300

use evil-collection instead

Diffstat:
Minit.el | 2++
Alisp.d/20-evil.el | 15+++++++++++++++
Mlisp.d/20-magit.el | 4----
3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/init.el b/init.el @@ -23,10 +23,12 @@ (package-install 'use-package)) (use-package evil + :disabled :ensure t :init (evil-mode 1)) (use-package evil-surround + :disabled :ensure t :config (global-evil-surround-mode 1)) diff --git a/lisp.d/20-evil.el b/lisp.d/20-evil.el @@ -0,0 +1,15 @@ +;; evil.el + +(use-package evil + :ensure t + :init + (setq evil-want-integration t) ;; This is optional since it's already set to t by default. + (setq evil-want-keybinding nil) + :config + (evil-mode 1)) + +(use-package evil-collection + :after evil + :ensure t + :config + (evil-collection-init)) diff --git a/lisp.d/20-magit.el b/lisp.d/20-magit.el @@ -1,10 +1,6 @@ ;; Magit (use-package magit :ensure t) -(use-package evil-magit - :ensure evil - :ensure t - :init (evil-magit-init)) ;; Magit bindings (global-set-key (kbd "C-x g") 'magit-status)