summary refs log tree commit diff
path: root/early-init.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-02 19:26:01 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-02 19:26:01 -0700
commita6145c74d2847c6ebc1911934bb11782b9986601 (patch)
treea3f0fa967cd8f4efb64c15a3b9d225ab2f20fc57 /early-init.el
parentadd a few more snippets for go (diff)
downloademacs.d-a6145c74d2847c6ebc1911934bb11782b9986601.tar.gz
committing the whole configuration
Going to get rid of the org configuration, it's not super friendly for
my workflow.
Diffstat (limited to '')
-rw-r--r--early-init.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el
new file mode 100644
index 0000000..ab93a23
--- /dev/null
+++ b/early-init.el
@@ -0,0 +1,23 @@
+;;; early-init.el --- Early initialization -*- lexical-binding: t -*-
+
+;;; Commentary:
+
+;;; Code:
+
+;; 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
+
+;; don't report warnings and errors related to native compilation
+(setq native-comp-async-report-warnings-errors nil)
+
+;; increase font size
+(set-face-attribute 'default nil :height 130)
+
+;;; early-init.el ends here