summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-05-18 12:21:51 +0200
committerOskar <[email protected]>2024-05-18 12:21:51 +0200
commit7f99a6ab75ad7cc3bf0d83584391259cddd35d03 (patch)
tree62978cae628ea0576c46a05a71104bcec50670bc
config so far
-rw-r--r--emacs21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs b/emacs
new file mode 100644
index 0000000..207ba0b
--- /dev/null
+++ b/emacs
@@ -0,0 +1,21 @@
+
+
+;; This is my emacs config file
+
+(setq inhibit-startup-message t)
+(setq visible-bell t)
+
+;; The menu bar and its configurations
+(menu-bar-mode 1) ;; This one is very useful to leave on actually
+(tool-bar-mode -1) ;; No tool bar
+(scroll-bar-mode -1) ;; No scroll bars
+(global-display-line-numbers-mode 1) ;; Show line numbers
+(column-number-mode 1) ;; Show column numbers as well
+(load-theme 'wombat t) ;; My preffered theme
+(set-face-attribute 'default nil :height 200) ;; Text size
+(setq make-backup-files nil) ;; Prevent backup file from cluttering
+(display-battery-mode 1)
+
+;; From how i understand it, these variables are supposed to make tab and indentation be 4 in width?
+(setq-default tab-width 4) ; Tab width (duh)
+(setq c-basic-offset 4) ; Tab width (but for C?)