From a860bb33d09711b8900fa764fd0976b9065932cf Mon Sep 17 00:00:00 2001 From: Warwick Date: Fri, 15 Aug 2025 12:09:04 +0100 Subject: [PATCH] Added evil mode. I can use both emacs and vim bindings now so might aswell have both --- init.el | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index f86dba8..1b85b9d 100644 --- a/init.el +++ b/init.el @@ -57,6 +57,22 @@ :ensure t :config (ivy-rich-mode 1)) +;; Evil Mode +(use-package evil + :ensure t + :config + (evil-mode 1) + (evil-set-undo-system 'undo-redo)) + +(use-package evil-org + :ensure t + :after org + :hook (org-mode . (lambda () evil-org-mode)) + :config + (require 'evil-org-agenda) + (evil-org-agenda-set-keys) + (setq evil-want-C-i-jump nil)) + ;; Theme (use-package gruvbox-theme :ensure t @@ -231,13 +247,14 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("8363207a952efb78e917230f5a4d3326b2916c63237c1f61d7e5fe07def8d378" + '("75b371fce3c9e6b1482ba10c883e2fb813f2cc1c88be0b8a1099773eb78a7176" + "8363207a952efb78e917230f5a4d3326b2916c63237c1f61d7e5fe07def8d378" default)) '(package-selected-packages '(all-the-icons company-box counsel doom-modeline gruvbox-theme helpful ivy-rich lsp-ivy lsp-treemacs lsp-ui magit - org-bullets org-roam org-roam-ui projectile - rainbow-delimiters tree-sitter-langs + no-littering org-bullets org-roam org-roam-ui + projectile rainbow-delimiters tree-sitter-langs typescript-mode))) (custom-set-faces ;; custom-set-faces was added by Custom.