aboutsummaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-04-01 11:49:47 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-04-01 11:50:20 -0400
commit7aa80639f92f1c8359b5311014e2fc22831eba86 (patch)
tree188efe1520d7ef6daf208d8de50388c1a3a98238 /.emacs.d/init.el
parentUpdate nvim config (diff)
downloaddotfiles-7aa80639f92f1c8359b5311014e2fc22831eba86.zip
Update emacs config
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el59
1 files changed, 31 insertions, 28 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index c391857..b082145 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,45 +1,48 @@
-;; Setup package.el for installing packages.
-;; Use M-x list-packages to see what's available.
-(require 'package)
-(setq package-archives '(("melpa" . "https://melpa.org/packages/")
- ("melpa-stable" . "https://stable.melpa.org/packages/")
- ("elpa" . "https://elpa.gnu.org/packages/")))
-(package-initialize)
-
-(unless (package-installed-p 'use-package)
- (package-refresh-contents)
- (package-install 'use-package))
+;; Add configuration modules to load path
+(add-to-list 'load-path '"~/.dotfiles/.emacs.d/modules")
+
+;; --------- Core Variables ---------------------
+(defvar et/monospace-font "Hack Nerd Font Mono"
+ "The font used by default and for any monospaced font usage.")
+(defvar et/monospace-font-size 128)
+
+;; --------- Modules ----------------------------
+(require 'et-package)
+(require 'et-appearance)
+(require 'et-vc)
(use-package which-key
- :ensure t
:config
(which-key-mode 1))
-(use-package nord-theme
- :ensure t
- :config
- (load-theme 'nord t))
(use-package eglot
- :ensure t
:hook (python-mode . eglot-ensure)
:config
(add-to-list 'eglot-server-programs '(python-mode . ("ty" "server"))))
(use-package surround
- :ensure t
:bind-keymap ("M-'" . surround-keymap))
-;; Move auto-generated Customize code to custom.el
-(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
-(when (file-exists-p custom-file)
- (load custom-file))
+(use-package vertico
+ :custom
+ (vertico-cycle t)
+ :init
+ (vertico-mode))
+
+(use-package savehist
+ :init
+ (savehist-mode))
-(menu-bar-mode -1) ; Remove the menu bar (File Edit Options...)
-(tool-bar-mode -1) ; Remove the tool bar (if using GUI)
-(setq inhibit-startup-screen t) ; Skip the welcome screen
+(use-package marginalia
+ :after vertico
+ :custom
+ (marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))
+ :init
+ (marginalia-mode))
-;; Line numbers
-(setq display-line-numbers-type 'relative)
-(global-display-line-numbers-mode 1)
+(setq custom-file (expand-file-name "custom-vars.el" user-emacs-directory))
+(when (file-exists-p custom-file)
+ (load custom-file))
+(setq messages-log-max t)