commit e60307c
chld
·
2026-09-26 20:49:28 +0000 UTC
parent 63da87a
update
A
emacs
+137,
-0
1@@ -0,0 +1,137 @@
2+;; chld's
3+;; .emacs
4+;;
5+;; enjoy ;)
6+
7+;;; -*- lexical-binding: t -*-
8+(custom-set-variables
9+ ;; custom-set-variables was added by Custom.
10+ ;; If you edit it by hand, you could mess it up, so be careful.
11+ ;; Your init file should contain only one such instance.
12+ ;; If there is more than one, they won't work right.
13+ '(custom-enabled-themes nil)
14+ '(custom-safe-themes
15+ '("bdf9f859a341456c9b27b6d4c1e69bf8bbb61fc52cf477c938ad09cb391352ba"
16+ "b50c9804e5b02dc1f59072dba8cd5ce8c16e8d2001b6a07ec74dc689fb276a6a"
17+ "134ff5b2ab9885756ba009c6e8250c2bd14e71ce3006f772d107f69648fbcfc1"
18+ "67256d7183dc290d2e7b5ab13137774f8d4547a0040986a3a13edb6a208538fa"
19+ "2b0fcc7cc9be4c09ec5c75405260a85e41691abb1ee28d29fcd5521e4fca575b"
20+ "967c23e9ba179b80560774419f081df22e7674aac23c5c550b817e4a1ce7d058"
21+ "10e330880269244ae45ae9e02fe6f55766da9e15036e7c7f07d7ce228195deb5"
22+ "d8d8127c6fb4f394051c499b76ff0850ad2668b6636124a82691e1d49ebd0a86"
23+ "efcecf09905ff85a7c80025551c657299a4d18c5fcfedd3b2f2b6287e4edd659"
24+ "57a29645c35ae5ce1660d5987d3da5869b048477a7801ce7ab57bfb25ce12d3e"
25+ "d89e15a34261019eec9072575d8a924185c27d3da64899905f8548cbd9491a36"
26+ default))
27+ '(fringe-mode 0 nil (fringe))
28+ '(menu-bar-mode nil)
29+ '(package-selected-packages
30+ '(## basic-mode chezmoi circe comet-trail fish-mode
31+ gnu-elpa-keyring-update go-mode gruvbox-theme lisp-ts-mode
32+ markdown-mode markdown-ts-mode md-ts-mode meson-mode
33+ miasma-theme modus-themes paper-theme slime
34+ solarized-gruvbox-theme solarized-theme spacious-padding vterm
35+ whitespace-cleanup-mode windresize xterm-color zig-mode))
36+ '(scroll-bar-mode nil)
37+ '(tool-bar-mode nil)
38+ '(tooltip-mode nil)
39+ '(warning-suppress-types '((native-compiler))))
40+
41+
42+(require 'package)
43+(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
44+;;(package-initialize)
45+
46+;; ________________________
47+;; VIEW VIEW VIEW VIEW VIEW
48+
49+;;(add-to-list 'default-frame-alist '(alpha-background . 85))
50+(add-to-list 'default-frame-alist '(internal-border-width . 30))
51+
52+(defface my-paren-face
53+ '((t (:foreground "#444444")))
54+ "Face for parentheses.")
55+
56+(font-lock-add-keywords
57+ 'scheme-mode
58+ '(("(\\|)" 0 'my-paren-face prepend)))
59+
60+(setq inhibit-startup-screen t)
61+(setq byte-compile-warnings '(not lexical))
62+(setq warning-minimum-level :error)
63+(set-face-attribute 'default nil :family "CozetteVector")
64+(set-face-attribute 'default nil :height 90)
65+
66+(show-paren-mode 1)
67+(set-face-attribute 'show-paren-match nil :foreground "#fabd2f" :background "#3c3836" :weight 'bold)
68+
69+(set-face-attribute 'show-paren-mismatch nil :foreground "#fb4934" :background "#3c3836" :weight 'bold)
70+
71+;; ________________________
72+;; FEATURES FEATURES FEATURES
73+
74+(setq make-backup-files nil) ;; disable backup files
75+(setq backup-inhibited t)
76+(setq create-lockfiles nil)
77+
78+(setq auto-save-default nil)
79+(setq auto-save-list-file-prefix nil)
80+(setq auto-save-interval 0)
81+(setq auto-save-timeout 0)
82+
83+(setq auto-save-visited-mode nil)
84+(setq auto-save-visited-interval 0)
85+
86+(setq delete-auto-save-files t)
87+
88+(setq vc-make-backup-files nil) ;; disable backup files
89+
90+(setq-default mode-line-format nil) ;; no modeline
91+
92+;;(setq display-line-numbers-type 'absolute)
93+;;(global-display-line-numbers-mode nil) ;; relative line numbers
94+
95+;; ________________________
96+;; KEYBINDS KEYBINDS KEYBINDS
97+
98+(setq kill-buffer-query-functions ;; no-confirm kill a buffer (1)
99+ (delq 'process-kill-buffer-query-function kill-buffer-query-functions))
100+(defun kill-no-confirm ()
101+ (interactive) ;; (1)
102+ (let (kill-buffer-query-functions)
103+ (kill-buffer (current-buffer))))
104+(global-set-key (kbd "C-x k") #'kill-no-confirm) ;; kill a buffer no-confirm
105+
106+
107+(global-set-key (kbd "C-c m") 'compile)
108+(global-set-key (kbd "C-c e") 'eval-buffer)
109+(global-set-key (kbd "C-c t") 'vterm)
110+(global-set-key (kbd "C-c M-d") 'windresize)
111+(global-set-key (kbd "C-c r") 'revert-buffer-quick)
112+
113+(use-package circe
114+ :custom
115+ (circe-network-options
116+ '(("ergo"
117+ :host "irc.ergo.chat"
118+ :port 6697
119+ :tls t
120+ :nick "chld"
121+ :sasl-username "chld" ;; Example with Libera.Chat
122+ :sasl-password ""))))
123+
124+(message "loaded config")
125+
126+;; alas,
127+;;(load-theme 'miasma :no-confirm)
128+(add-to-list 'custom-theme-load-path (concat user-emacs-directory "/nonpackaged/"))
129+(load-theme 'miasman :no-confirm)
130+(set-face-attribute 'default nil
131+ :background "#d7c483"
132+ :foreground "#222222")
133+(custom-set-faces
134+ ;; custom-set-faces was added by Custom.
135+ ;; If you edit it by hand, you could mess it up, so be careful.
136+ ;; Your init file should contain only one such instance.
137+ ;; If there is more than one, they won't work right.
138+ )
M
install
+1,
-0
1@@ -20,3 +20,4 @@ ln -sf $PWD/config.rasi ~/.config/rofi/config.rasi
2 ln -sf $PWD/sway.config ~/.config/sway/config
3 ln -sf $PWD/fonts.conf ~/.config/fontconfig/fonts.conf
4 ln -sf $PWD/labwc.themerc ~/.themes/MyLabwc/labwc/themerc
5+ln -sf $PWD/emacs ~/.emacs