Minor formatting of emacs

This commit is contained in:
Gabriel Simmer 2023-01-28 09:26:37 +00:00
parent fa28dc6ecf
commit 5e8abf4c47
Signed by: arch
GPG key ID: C81B106D46C5B875
2 changed files with 24 additions and 22 deletions

View file

@ -3,6 +3,7 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes '(modus-operandi-tinted))
'(custom-safe-themes
'("fb83a50c80de36f23aea5919e50e1bccd565ca5bb646af95729dc8c5f926cbf3" "e7820b899036ae7e966dcaaec29fd6b87aef253748b7de09e74fdc54407a7a02" "1781e8bccbd8869472c09b744899ff4174d23e4f7517b8a6c721100288311fa5" default))
'(safe-local-variable-values

View file

@ -1,5 +1,5 @@
;; Basic appearence and behaviour.
(setq inhibit-startup-message t)
;; neccesary non-package related config
(setq auto-save-default nil)
(setq make-backup-files nil)
(cond ((find-font (font-spec :name "Jetbrains Mono"))
@ -10,18 +10,18 @@
(set-fringe-mode 10)
(setq column-number-mode t)
(menu-bar-mode -1)
;; For Emacs 29.
;; For Emacs >=29.
(pixel-scroll-precision-mode t)
;; Messes with the Terraform LSP, and I don't really need this myself.
(setq create-lockfiles nil)
(load-theme 'modus-vivendi-tinted)
;; Orgmode tweaks.
(setq org-edit-src-content-indentation 0
org-src-tab-acts-natively t
org-src-preserve-indentation t)
(setq-default tab-width 4)
;; stupid hacks
;; WSL keybinds to work around some weirdness.
(global-set-key (kbd "C-c y") 'clipboard-yank)
(global-set-key (kbd "C-c x") 'kill-ring-save)
@ -40,8 +40,9 @@
(load bootstrap-file nil 'nomessage))
;; package list we want installed
;; first grab use-package :3
;; first use-package
(straight-use-package 'use-package)
(use-package vterm :straight t)
(use-package el-patch :straight t)
(use-package doom-modeline
:straight t