2023-07-11 04:54:51 +00:00
|
|
|
(progn
|
|
|
|
(setq make-backup-files nil auto-save-default nil create-lockfiles nil)
|
|
|
|
(load-theme 'tango-dark t)
|
|
|
|
(set-face-attribute 'default nil :background "black")
|
|
|
|
;; Bright yellow highlighting for selected region
|
|
|
|
(set-face-attribute 'region nil :background "#ffff50" :foreground "black")
|
|
|
|
;; Bright green cursor to distinguish from yellow region
|
|
|
|
(set-cursor-color "#ccff66")
|
|
|
|
;; Hightlight the current line
|
|
|
|
(set-face-attribute 'line-number-current-line nil :foreground "white")
|
|
|
|
;; Set default font
|
|
|
|
(set-face-attribute 'default nil :height 100 :width 'regular :weight 'regular :family "Cascadia Mono")
|
|
|
|
;; Set fallback font for unicode glyphs
|
2024-07-13 01:44:43 +00:00
|
|
|
(when (display-graphic-p)
|
|
|
|
(set-fontset-font "fontset-default" nil (font-spec :name "Noto Color Emoji")))
|
2023-07-11 04:54:51 +00:00
|
|
|
(menu-bar-mode -1)
|
|
|
|
(when (fboundp 'tool-bar-mode)
|
|
|
|
(tool-bar-mode -1))
|
|
|
|
(when ( fboundp 'scroll-bar-mode)
|
2023-09-14 18:33:38 +00:00
|
|
|
(scroll-bar-mode -1))
|
|
|
|
(pixel-scroll-precision-mode)
|
|
|
|
(setq frame-resize-pixelwise t)
|
|
|
|
)
|