Minor formatting of emacs
This commit is contained in:
parent
fa28dc6ecf
commit
5e8abf4c47
|
@ -3,6 +3,7 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
|
'(custom-enabled-themes '(modus-operandi-tinted))
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("fb83a50c80de36f23aea5919e50e1bccd565ca5bb646af95729dc8c5f926cbf3" "e7820b899036ae7e966dcaaec29fd6b87aef253748b7de09e74fdc54407a7a02" "1781e8bccbd8869472c09b744899ff4174d23e4f7517b8a6c721100288311fa5" default))
|
'("fb83a50c80de36f23aea5919e50e1bccd565ca5bb646af95729dc8c5f926cbf3" "e7820b899036ae7e966dcaaec29fd6b87aef253748b7de09e74fdc54407a7a02" "1781e8bccbd8869472c09b744899ff4174d23e4f7517b8a6c721100288311fa5" default))
|
||||||
'(safe-local-variable-values
|
'(safe-local-variable-values
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
;; Basic appearence and behaviour.
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
;; neccesary non-package related config
|
|
||||||
(setq auto-save-default nil)
|
(setq auto-save-default nil)
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files nil)
|
||||||
(cond ((find-font (font-spec :name "Jetbrains Mono"))
|
(cond ((find-font (font-spec :name "Jetbrains Mono"))
|
||||||
|
@ -10,18 +10,18 @@
|
||||||
(set-fringe-mode 10)
|
(set-fringe-mode 10)
|
||||||
(setq column-number-mode t)
|
(setq column-number-mode t)
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
;; For Emacs 29.
|
;; For Emacs >=29.
|
||||||
(pixel-scroll-precision-mode t)
|
(pixel-scroll-precision-mode t)
|
||||||
|
;; Messes with the Terraform LSP, and I don't really need this myself.
|
||||||
(setq create-lockfiles nil)
|
(setq create-lockfiles nil)
|
||||||
|
|
||||||
(load-theme 'modus-vivendi-tinted)
|
;; Orgmode tweaks.
|
||||||
|
|
||||||
(setq org-edit-src-content-indentation 0
|
(setq org-edit-src-content-indentation 0
|
||||||
org-src-tab-acts-natively t
|
org-src-tab-acts-natively t
|
||||||
org-src-preserve-indentation t)
|
org-src-preserve-indentation t)
|
||||||
(setq-default tab-width 4)
|
(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 y") 'clipboard-yank)
|
||||||
(global-set-key (kbd "C-c x") 'kill-ring-save)
|
(global-set-key (kbd "C-c x") 'kill-ring-save)
|
||||||
|
|
||||||
|
@ -40,8 +40,9 @@
|
||||||
(load bootstrap-file nil 'nomessage))
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
;; package list we want installed
|
;; package list we want installed
|
||||||
;; first grab use-package :3
|
;; first use-package
|
||||||
(straight-use-package 'use-package)
|
(straight-use-package 'use-package)
|
||||||
|
(use-package vterm :straight t)
|
||||||
(use-package el-patch :straight t)
|
(use-package el-patch :straight t)
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:straight t
|
:straight t
|
||||||
|
|
Loading…
Reference in a new issue