summaryrefslogtreecommitdiff
path: root/config/common.el
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-05-17 20:17:44 +0100
committerSam Light <samlight1994@gmail.com>2025-05-17 20:17:44 +0100
commit0b48b7d84872ea328ff942d2a2f786efc3319e82 (patch)
tree1d83b715d124d0a812df6669ac8e8ee4a27a5d26 /config/common.el
Inital commit
Diffstat (limited to 'config/common.el')
-rw-r--r--config/common.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/common.el b/config/common.el
new file mode 100644
index 0000000..cd874de
--- /dev/null
+++ b/config/common.el
@@ -0,0 +1,20 @@
+;; -*- lexical-binding: t; -*-
+
+(setq
+ gc-cons-threshold 200000000
+ make-backup-files nil
+ auto-save-default t
+ visible-bell t
+ inhibit-startup-screen t)
+
+(defalias 'yes-or-no-p 'y-or-n-p)
+
+(setq custom-file (expand-file-name "emacs-custom.el" user-emacs-directory))
+(when (file-exists-p custom-file) (load custom-file))
+
+(use-package doom-modeline
+ :ensure t
+ :hook (after-init . doom-modeline-mode))
+
+(use-package nerd-icons
+ :ensure t)