Tweak windows

This commit is contained in:
Nathan McCarty 2023-07-08 12:38:31 -04:00
parent 03b060b8f5
commit 2e0e4ed08f
1 changed files with 21 additions and 0 deletions

View File

@ -326,6 +326,27 @@ Make the background transparent on linux
(:prefix ("z m" . "mode") (:prefix ("z m" . "mode")
"s" #'nm/streamer-mode)) "s" #'nm/streamer-mode))
#+end_src #+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 * Basic Editing
** Evil Mode ** Evil Mode
Emacs is best vim, fite me Emacs is best vim, fite me