Added evil mode. I can use both emacs and vim bindings now so might aswell have both
This commit is contained in:
parent
e33d0b58bc
commit
a860bb33d0
1 changed files with 20 additions and 3 deletions
23
init.el
23
init.el
|
|
@ -57,6 +57,22 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (ivy-rich-mode 1))
|
: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
|
;; Theme
|
||||||
(use-package gruvbox-theme
|
(use-package gruvbox-theme
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
@ -231,13 +247,14 @@
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("8363207a952efb78e917230f5a4d3326b2916c63237c1f61d7e5fe07def8d378"
|
'("75b371fce3c9e6b1482ba10c883e2fb813f2cc1c88be0b8a1099773eb78a7176"
|
||||||
|
"8363207a952efb78e917230f5a4d3326b2916c63237c1f61d7e5fe07def8d378"
|
||||||
default))
|
default))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(all-the-icons company-box counsel doom-modeline gruvbox-theme
|
'(all-the-icons company-box counsel doom-modeline gruvbox-theme
|
||||||
helpful ivy-rich lsp-ivy lsp-treemacs lsp-ui magit
|
helpful ivy-rich lsp-ivy lsp-treemacs lsp-ui magit
|
||||||
org-bullets org-roam org-roam-ui projectile
|
no-littering org-bullets org-roam org-roam-ui
|
||||||
rainbow-delimiters tree-sitter-langs
|
projectile rainbow-delimiters tree-sitter-langs
|
||||||
typescript-mode)))
|
typescript-mode)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue