diff options
author | oskar <[email protected]> | 2024-05-22 19:43:22 +0200 |
---|---|---|
committer | oskar <[email protected]> | 2024-05-22 19:43:22 +0200 |
commit | de01077bfb714d824830108f6659a0608f4c3654 (patch) | |
tree | 24c28796be71dc1c5306844985b548f5b9815d92 /emacs | |
parent | 7f99a6ab75ad7cc3bf0d83584391259cddd35d03 (diff) |
updated changes
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1,7 +1,4 @@ - -;; This is my emacs config file - (setq inhibit-startup-message t) (setq visible-bell t) @@ -11,11 +8,20 @@ (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 +(load-theme 'adwaita t) ;; My preffered themes + ;; 'wombat' for dark, 'adwaita' for light +(set-face-attribute 'default nil :height 125) ;; Text size +;;(setq make-backup-files nil) ;; Prevent backup file from cluttering +(setq lock-file-name-transforms + '(("\\`/.*/\\([^/]+\\)\\'" "~/.emacs.d/aux/\\1" t))) +(setq auto-save-file-name-transforms + '(("\\`/.*/\\([^/]+\\)\\'" "~/.emacs.d/aux/\\1" t))) +(setq backup-directory-alist + '((".*" . "~/.emacs.d/aux/"))) (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?) +(find-file "/home/oskar/doc/how2emacs.txt") +(switch-to-buffer "*scratch*") |