blob: c576d76d1024efd81cf01c2a78a8df3539f4c37a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Emacs Substrate
A clean basis to organically grow your config onto.
**NOTICE:** Requires Emacs 29.1 or better.
## Description
This is a minimal Emacs base config. Here's the short of the philosophy:
- Focus on using default, built-in Emacs behavior
- Emacs-lisp centric, encourage configuration through code
- Allow update and upgrade of substrate
- No magic
## Installation
To install emacs-substrate, clone this repository somewhere, then create the files:
```lisp
;; ~/.emacs.d/early-init.el
(add-to-list 'load-path "<path-where-emacs-substrate-was-cloned>")
(require 'early-substrate)
```
```lisp
;; ~/.emacs.d/init.el
(require 'substrate)
;; Set custom variables here
(substrate-init)
;; The rest of your config below
```
## Screenshots
What you should see on opening Emacs up with Bedrock installed: a simple splash screen, [modus-vivendi](https://protesilaos.com/emacs/modus-themes) active, and the `help-quick` display at the bottom.

Basic code editing: line numbers and `hl-line-mode`.

## Philosophy
TODO
## Requirements
Emacs 29.1 or later.
Emacs 29.1 is, as of 2023-09-04, the latest stable release. The specific features from Emacs 29.1 that Bedrock relies on are:
- The `use-package` macro for configuration
- Enhancements to the built-in completion help (`completions-auto-select`, `completion-auto-help`, etc.)
- Built-in tree-sitter support
- Built-in LSP client (Eglot)
## Credits
Creator and maintainer of Emacs-bedrock:
- Ashton Wiersdorf https://lambdaland.org
|