feat: Leader key and General.el

This commit is contained in:
Madeleine Sydney
2025-01-12 11:13:15 -07:00
parent f788cd8b34
commit 4366fa163d
4 changed files with 89 additions and 6 deletions

View File

@@ -123,6 +123,18 @@ The difference connects to another silly obsession of the Emacs hacker: startup
~on-first-input~ is one of many useful hooks provided by the package [[https://github.com/emacsmirror/on][on.el]] specialised for fine-grained control of package loading.
** Naming conventions in my Emacs config
As with the rest of the config, these are largely adapted from Doom's ([cite:@lissner2022contributing]). }:3
- ~syd-[-]«NAME»~ :: Typical 'namespaced' Elisp convention ([cite:@gnu2020conventions]).
- ~syd/«NAME»~ :: Commands intended for interactive use.
- ~+syd-[-]«NAME»~ :: Indicates a [[https://en.wikipedia.org/wiki/Strategy_pattern][strategy]] function.
- ~syd-«NAME»-initialise~, where ~modules/«NAME» ∈ modules/*.el~ :: Instead of using top-level side-effects, (bar e.g. ~use-package~ invocations) should be wrapped in this kind of initialisation procedure.
>>>>>>> Conflict 1 of 1 ends
* Tasks