mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
emacs config
This commit is contained in:
parent
8229eb8fba
commit
83290b46f7
9 changed files with 538 additions and 266 deletions
11
modules/aspects/emacs/early-init.el
Normal file
11
modules/aspects/emacs/early-init.el
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
;; Defer GC during startup
|
||||
(setq gc-cons-threshold most-positive-fixnum)
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda () (setq gc-cons-threshold (* 16 1024 1024))))
|
||||
|
||||
;; Disable before frame init
|
||||
(setq default-frame-alist
|
||||
'((tool-bar-lines . 0)
|
||||
(menu-bar-lines . 0)
|
||||
(vertical-scroll-bars . nil)
|
||||
(horizontal-scroll-bars . nil)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue