From Emacs 27+, early-init.el provides control over stuff earlier than
UI load allowing for fine grained control over the load up. Here you
setup stuff such that Emacs loads this code most eagerly.
In this case, I set gc-cons-threshold to the highest value to
aggressively load the config without care for garbage collection, as
well as restricting standard package use. Along with that are some
basic UI things so that I don't have to deal with them even in load
up such as menu-bars and the alpha.
As this code is not error prone at all and is loaded before init.el
these choices allow for an easier debugging experience as well.
Remove the hyper key bindings, setting them purely to super.
After running pure Emacs with no leader bindings, I've found the use
of Ctrl+g/Escape really painful (as well as the use of Ctrl for
everything). I want to free the caps key (which was hyper) for use as escape.
When emacs is launched standalone, it makes sense to optimise towards
smaller load times through lazy loading. However, when Emacs is in
server or daemon there's no point holding back. Just load everything
most of the necessary stuff such that on first emacsclient launch we
have everything available for use.
This is a smarter Emacs literate config. The way it works is simple:
- If no config output files exist, compile them. Otherwise just load
the config
- Add a hook when exiting emacs such that the config is compiled and
ready for next call.
This makes it so that load time is fast and compile occurs at a more
opportune time than at init.
Basically adds the functionality necessary to delete sentences in auto
fill mode, where it may not be possible with simple vim motions and
where Emacs functions kill the paragraph.