1
0
Fork 0

fix(emacs): prioritise early theme loading

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-01 12:35:11 -05:00
parent e4a20a4da7
commit 8ec7186da0
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -45,6 +45,12 @@
;; Cursor ;; Cursor
(blink-cursor-mode 1) (blink-cursor-mode 1)
;; Theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'nano t)
(nano-light)
;; Font ;; Font
(add-to-list 'default-frame-alist '(font . "JetBrains Mono SemiBold-10")) (add-to-list 'default-frame-alist '(font . "JetBrains Mono SemiBold-10"))
(defvar font-size 10) (defvar font-size 10)
@ -84,11 +90,6 @@
;; disable this. ;; disable this.
(setq sentence-end-double-space nil) (setq sentence-end-double-space nil)
;; Theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'nano t)
(nano-light)
;; Keybindings ;; Keybindings
(global-set-key (kbd "C-M-j") (lambda () (interactive) (scroll-up 1))) (global-set-key (kbd "C-M-j") (lambda () (interactive) (scroll-up 1)))
(global-set-key (kbd "C-M-k") (lambda () (interactive) (scroll-down 1))) (global-set-key (kbd "C-M-k") (lambda () (interactive) (scroll-down 1)))