Skip to content

Commit

Permalink
fix: setup evil org mode properly
Browse files Browse the repository at this point in the history
  • Loading branch information
balajisivaraman committed Sep 12, 2021
1 parent 2acc676 commit 2ec1aed
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lisp/init-evil.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@
(defun bs/init-evil-org ()
(use-package evil-org
:after org
:diminish
(evil-org-mode)
:config
(add-hook 'org-mode-hook 'evil-org-mode)
(add-hook 'evil-org-mode-hook
(lambda ()
(evil-org-set-key-theme '(navigation insert textobjects additional calendar))))))
:diminish (evil-org-mode)
:hook (org-mode . evil-org-mode)
:custom (evil-org-set-key-theme '(textobjects insert navigation additional shift heading))))

(defun bs/init-evil-collection ()
(use-package evil-collection
Expand Down

0 comments on commit 2ec1aed

Please sign in to comment.