blob: e5ebdfac93485f97eaf29a5d7b9a69599f5cc3c5 (
plain) (
tree)
|
|
;;; early-init.el --- Early initialization -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; Startup speed, annoyance suppression
(setq gc-cons-threshold 10000000)
(setq byte-compile-warnings '(not obsolete))
(setq warning-suppress-log-types '((comp) (bytecomp)))
(setq native-comp-async-report-warnings-errors 'silent)
;; Silence startup message
(setq inhibit-startup-echo-area-message (user-login-name))
;; Default frame configuration: full screen, good-looking title bar on macOS
(setq frame-resize-pixelwise t)
(setq default-frame-alist '((fullscreen . maximized)
;; Setting the face in here prevents flashes of
;; color as the theme gets activated
(ns-appearance . light)
(ns-transparent-titlebar . t)))
;; disable GUI elements
(scroll-bar-mode -1) ; hide the scroll bar
(tool-bar-mode -1) ; hide the tool bar
(menu-bar-mode -1) ; hide the menu
(blink-cursor-mode -1) ; don't blink the cursor
(setq make-pointer-invisible t) ;; hide cursor while typing
(setq use-dialog-box nil) ;; do not show GUI dialogs
(setq inhibit-startup-screen t) ;; hide the startup screen
(set-face-attribute 'default nil :family "Source Code Pro" :height 150)
;;; early-init.el ends here
|