416e6640d6
This commit changes the way files are loaded. Instead of being 'require'd and 'provide'd, they are simply 'load'ed, having a positive impact on performance and code quality. Additionally, the headings of file (which thus far have began with three semicolons) now begin with two to fit Emacs lisp conventions.
50 lines
1.3 KiB
EmacsLisp
50 lines
1.3 KiB
EmacsLisp
;; This file contains configuration for Emacs interface elements.
|
|
|
|
;; Stop Emacs from resizing the window at startup
|
|
(setq frame-resize-pixelwise t)
|
|
|
|
;; Remove the startup screen
|
|
(setq inhibit-startup-message t)
|
|
|
|
;; Enable line numbers globally
|
|
(global-display-line-numbers-mode 1)
|
|
|
|
;; Add a nice border around Emacs
|
|
(modify-all-frames-parameters
|
|
'((right-divider-width . 15)
|
|
(internal-border-width . 15)))
|
|
(dolist (face '(window-divider
|
|
window-divider-first-pixel
|
|
window-divider-last-pixel))
|
|
(face-spec-reset-face face)
|
|
(set-face-foreground face (face-attribute 'default :background)))
|
|
(set-face-background 'fringe (face-attribute 'default :background))
|
|
|
|
;; magit - A beautiful git porcelain for Emacs
|
|
(use-package magit)
|
|
|
|
;; which-key - a popup which displays available keybindings
|
|
(use-package which-key)
|
|
|
|
;;; Themes
|
|
;; Install the Doom Emacs theme megapack.
|
|
(use-package doom-themes)
|
|
|
|
;; kaolin-themes, depends on autothemer
|
|
(use-package kaolin-themes
|
|
:requires autothemer)
|
|
|
|
;; autothemer - conveniently create Emacs themes
|
|
(use-package autothemer)
|
|
|
|
;; all-the-icons - Icons for various UI elements
|
|
(use-package all-the-icons)
|
|
|
|
;; vertico - An amazing search engine!
|
|
(use-package vertico
|
|
:init
|
|
(vertico-mode 1))
|
|
|
|
(use-package diredfl ; Colourise dired!
|
|
:hook dired-mode)
|