opinionated set of emacs lisp files
- elpaca for package management
- leaf for package configuration
- vertico for completion UI (ones you see for
M-x
,C-h f
,C-h v
, etc…) - lsp-bridge for the LSP client (it’s actually faster than everything else)
- evil-mode for modal editing
- embrace variable pitch for titles and headings
- defer everything if possible (an exception was made for
no-littering
andexec-path-from-shell
)
- Use
(elpaca-leaf)
for configuring external packages and(leaf)
for built-in packages.
I employ several magical hacks, tips and tricks, used by other Emacs users, in order for my emacs-init-time
, be under 1 second.
- Avoid
set-face-attribute
when possible- In the case where this isn’t possible, hook these calls to
emacs-startup
.
- In the case where this isn’t possible, hook these calls to
- Frame modifications must be done in
early-init.el
. - Defer loading of packages with
:leaf-defer t
(this is default behavior ofleaf
).- This is the most important and impactful.
- Employ the use of
:hook
,:bind
,:mode
, and others to load packages when they are needed.
- Relax the garbage collector during start up.
- Also use
gcmh
, the Garbage Collector Magic Hack.
- Also use
- Unset
file-name-handler-alist
during start up. - Set the initial major mode to
fundamental-mode
. - Use Emacs with
native-comp
feature enabled.
obligatory screenshot section