     :lighter " !"
     :keymap (make-sparse-keymap)
     :group 'evil-org)
-
-  (add-hook 'org-mode-hook #'visual-line-mode)
-  (when (featurep! :feature evil)
-    (add-hook 'org-mode-hook #'+org-evil-mode))
-
-  (add-hook 'evil-insert-state-exit-hook #'+org|realign-table-maybe nil t)
-  (add-hook 'evil-insert-state-exit-hook #'+org|update-cookies nil t)
-  (add-hook 'before-save-hook #'+org|update-cookies nil t)
 
   (+org-init-ui)
   (+org-init-keybinds)


(defun +org|hook ()
  "Run everytime `org-mode' is enabled."
  (setq line-spacing 1)
  (doom|disable-line-numbers)

  ;; show-paren-mode causes problems for org-indent-mode
  (make-local-variable 'show-paren-mode)
  (setq show-paren-mode nil)

  (unless org-agenda-inhibit-startup
    ;; My version of the 'overview' #+STARTUP option: expand first-level
    ;; headings.
    (when (eq org-startup-folded t)
      (outline-hide-sublevels 2))


          (t . ,(cond (IS-MAC "open -R \"%s\"")
                      (IS-LINUX "xdg-open \"%s\"")))))

  (defun +org|remove-occur-highlights ()
    "Remove org occur highlights on ESC in normal mode."
    (when (derived-mode-p 'org-mode)
      (org-remove-occur-highlights)
      t))
