Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
8 changed files with 28 additions and 11 deletions
Showing only changes of commit 5e6a0dac07 - Show all commits

View file

@ -6,3 +6,4 @@
backup-by-copying t)) backup-by-copying t))
(setq inhibit-startup-message t) (setq inhibit-startup-message t)
(setq auto-save-default nil)

View file

@ -11,10 +11,8 @@
'(font . "Go Mono Nerd Font-12")) '(font . "Go Mono Nerd Font-12"))
;; Temporary theme. Replace later. ;; Temporary theme. Replace later.
(use-package doom-themes (use-package darktooth-theme
:ensure t :ensure t
:config :config
(setq doom-themes-enable-bold t (load-theme 'darktooth-dark t)
doom-themes-enable-italic t) (set-face-background 'hl-line "#262626")) ;; darktooth-background-0
(doom-themes-org-config)
(load-theme 'doom-sourcerer t))

View file

@ -0,0 +1,15 @@
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq indent-line-function 'insert-tab)
(setq-default show-trailing-whitespace t)
(use-package indent-bars
:ensure t
:hook (prog-mode . indent-bars-mode)
:custom
(indent-bars-display-on-blank-lines t)
(indent-bars-pattern " . . . ")
(indent-bars-color '("#7C6F64" :blend 0.2))
(indent-bars-width-frac 0.15)
(indent-bars-color-by-depth nil)
(indent-bars-highlight-current-depth '(:color "#DD6F48" :pattern "." :blend 0.4)))

View file

@ -23,5 +23,5 @@
(load (expand-file-name "./appearance.el" conf-home)) (load (expand-file-name "./appearance.el" conf-home))
(load (expand-file-name "./annoyances.el" conf-home)) (load (expand-file-name "./annoyances.el" conf-home))
(load (expand-file-name "./completions.el" conf-home)) (load (expand-file-name "./completions.el" conf-home))
(load (expand-file-name "./languages.el" conf-home)) (load (expand-file-name "./formatting.el" conf-home))
(mapc 'load (file-expand-wildcards (expand-file-name "./languages/*.el" conf-home)))

View file

@ -1 +0,0 @@
(mapc 'load (file-expand-wildcards (expand-file-name "./languages/*.el" conf-home)))

View file

@ -5,3 +5,7 @@
(use-package pretty-sha-path (use-package pretty-sha-path
:ensure t :ensure t
:config (global-pretty-sha-path-mode 1)) :config (global-pretty-sha-path-mode 1))
(add-hook 'nix-mode-hook
(lambda ()
(setq tab-width 2)))