 (use-package writeroom-mode
   :defer t
   :init
-  (setq writeroom-width 120)
-  :config
-  (add-hook 'writeroom-mode-hook #'text-scale-increase)
-  (add-hook 'change-major-mode-hook #'text-scale-decrease))
-
-
-(use-package rg
-  :defer t)
+  (setq writeroom-width 120))
+;;  :config
+;;  (add-hook 'writeroom-mode-hook #'text-scale-increase)
+;;  (add-hook 'writeroom-mode-hook #'global-display-line-numbers-mode)
+;;  (add-hook 'change-major-mode-hook #'text-scale-decrease)
+;;  (add-hook 'change-major-mode-hook #'global-display-line-numbers-mode))
+
+;;(use-package rg
+;;  :defer t)
 
 ;;; Completions (Emacs from Scratch #1:https://www.youtube.com/watch?v=74zOY-vgkyw )
 (use-package ivy

;; https://systemcrafters.cc/advanced-package-management/using-straight-el/

(provide 'init)

(setq gc-cons-threshold (* 50 1000 1000))

;; Fromh ttps://github.com/daviwil/emacs-from-scratch/blob/master/init.el 
(defun icot/display-startup-time ()

(use-package org
  :defer t
  :init
  (setq org-directory "~/Nextcloud/myorg/")
  (setq org-agenda-files `(,org-directory)))
			  

(use-package magit
  :defer t)
