|
|
@ -112,6 +112,20 @@ |
|
|
|
("work_hyperv" (add-to-list 'initial-frame-alist '(fullscreen . maximized))))) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
* Windows specific stuff |
|
|
|
** Performance |
|
|
|
[[https://github.com/cbowdon/Config/blob/master/emacs/init.org][Got it from here]] |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(when (eq system-type 'windows-nt) |
|
|
|
(if (>= emacs-major-version 25) |
|
|
|
(remove-hook 'find-file-hooks 'vc-refresh-state) |
|
|
|
(remove-hook 'find-file-hooks 'vc-find-file-hook)) |
|
|
|
(progn |
|
|
|
(setq gc-cons-threshold (* 511 1024 1024) |
|
|
|
gc-cons-percentage 0.5 |
|
|
|
garbage-collection-messages t) |
|
|
|
(run-with-idle-timer 5 t #'garbage-collect))) |
|
|
|
#+END_SRC |
|
|
|
* Visuals |
|
|
|
** Font |
|
|
|
Don't add the font in the work environment, which I am logged in as POH |
|
|
|