diff --git a/config.org b/config.org index 51ef907..1ea1ab6 100644 --- a/config.org +++ b/config.org @@ -326,6 +326,27 @@ Make the background transparent on linux (:prefix ("z m" . "mode") "s" #'nm/streamer-mode)) #+end_src +** Windows +Disable some things we don't use on windows to make things faster +*** Autosave and backups +#+begin_src emacs-lisp +(when IS-WINDOWS + (setq backup-inhibited t) + (setq auto-save-default nil)) +#+end_src +*** Disable uneeded minor-modes in org +#+begin_src emacs-lisp +(when IS-WINDOWS + (defun nm/org-win-hook () + (company-mode -1) + (flycheck-mode -1) + (smartparens-mode -1)) + (add-hook 'org-mode-hook #'nm/org-win-hook)) +#+end_src +*** Disable unneded global minor modes +#+begin_src emacs-lisp +(global-eldoc-mode -1) +#+end_src * Basic Editing ** Evil Mode Emacs is best vim, fite me