Speed up Nix mode and Org Agenda

This commit is contained in:
coolneng 2020-07-01 18:54:44 +02:00
parent e3ad628597
commit 0f6745d8aa
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 4 additions and 0 deletions

View File

@ -37,3 +37,5 @@
(add-to-list 'org-latex-packages-alist '("AUTO" "babel" t ("pdflatex"))) (add-to-list 'org-latex-packages-alist '("AUTO" "babel" t ("pdflatex")))
;; Don't evaluate code blocks on export ;; Don't evaluate code blocks on export
(setq org-export-use-babel nil) (setq org-export-use-babel nil)
;; Speed up agenda startup
(setq org-agenda-dim-blocked-tasks nil)

View File

@ -49,3 +49,5 @@
(message "No Compilation Errors!"))))) (message "No Compilation Errors!")))))
;; Enable writeroom for text modes ;; Enable writeroom for text modes
(setq writeroom-major-modes '(markdown-mode org-mode)) (setq writeroom-major-modes '(markdown-mode org-mode))
;; Disable company in Nix mode
(set-company-backend! 'nix-mode nil)