   (message (concat "Changing org dir to: " orgdir))
   (setq org-directory orgdir)
 
+  ;; Remove the default doom-emacs behaviour of enabling line numbers,
+  ;; only for text mode.
+  (remove-hook! '(text-mode-hook) #'display-line-numbers-mode)
   ;; In org-agenda log show completed recurring tasks.
   ;; (setq org-agenda-log-mode-items '(closed clock state))
 

(epa-file-enable)
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
(setq doom-theme 'doom-one-light)

;; ;; Org mode setup.



  (org-add-link-type "tag" 'sa/follow-tag-link)


  (setq doom-font (font-spec :family "Input" :size 18))
  (setq doom-variable-pitch-font (font-spec :family "Literata" :size 20))
  (let* ((headline `(:inherit default :weight normal :family "Literata")))
    (custom-theme-set-faces
     'user
     `(org-level-8 ((t (,@headline :height 1.0))))
