Skip to content
/ on.el Public

Hooks for faster Emacs startup – GitHub mirror

License

Notifications You must be signed in to change notification settings

ajgrf/on.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

on.el – utility hooks and functions from Doom Emacs

This package exposes a number of utility hooks and functions ported from Doom Emacs. The hooks make it easier to speed up Emacs startup by providing finer-grained control of the timing at which packages are loaded.

For example, use-package users can delay loading the which-key package until the first key is pressed:

(use-package which-key
  :hook (on-first-input . which-key-mode))

In addition to on-first-input-hook, on.el also provides on-first-file-hook, on-first-buffer-hook, on-switch-buffer-hook, on-switch-window-hook, and on-switch-frame-hook.

About

Hooks for faster Emacs startup – GitHub mirror

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published