Play around with modus some more, and improve startup speed

This commit is contained in:
David Morgan 2021-08-09 16:44:42 +01:00
parent 16764da885
commit 707ce10be6
4 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
:after key-chord
:hook (clojure-mode . lsp)
:config
(setq gc-cons-threshold (* 100 1024 1024)
(setq ;gc-cons-threshold (* 100 1024 1024)
read-process-output-max (* 1024 1024)
lsp-ui-doc-delay 1
lsp-lens-enable nil

View File

@ -31,4 +31,3 @@
(not-checked . ""))))
(provide 'init-modeline)

View File

@ -7,8 +7,11 @@
(prelude-require-package 'solarized-theme)
;(load-theme 'solarized-dark t)
(prelude-require-package 'modus-themes)
(setq modus-themes-syntax '(alt-syntax green-strings yellow-comments)
modus-themes-paren-match '(bold intense underline))
;(setq modus-themes-syntax '(alt-syntax green-strings yellow-comments)
(setq modus-themes-syntax '(green-strings yellow-comments)
modus-themes-paren-match '(bold intense underline)
modus-themes-diffs '(desaturated)
modus-themes-lang-checkers '(text-also background))
(load-theme 'modus-vivendi t)
(setq whitespace-line-column 120)

View File

@ -15,6 +15,10 @@
(require 'init-mac)
(require 'init-misc)
(add-hook 'after-init-hook '(lambda ()
(setq gc-cons-threshold (* 100 1024 1024)
gc-cons-percentage 0.1)))
(global-unset-key (kbd "<left>"))
(global-unset-key (kbd "<right>"))
(global-unset-key (kbd "<up>"))