Tweak windows
This commit is contained in:
parent
03b060b8f5
commit
2e0e4ed08f
21
config.org
21
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
|
||||
|
|
Loading…
Reference in New Issue