Documentation scrub

README now covers fetching, building, installing and using kte/kge.
The man pages are rewritten against KKeymap.cc and the command
registry: missing bindings and prompt commands, +N, kte --gui exiting
with status 2, real FILES, the theme list, and a full kge.toml
reference including the [font] keys. CONFIG.md, themes.md, swap.md,
syntax.md, the developer guide and the in-editor help are corrected
where they had drifted from the code. ke.md is labelled as the
predecessor's manual.

: font is left out of the docs: the per-frame edit-mode font switch
in ImGuiFrontend.cc reloads the configured font right after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 15:02:51 -08:00
co-authored by Claude Opus 5.5
parent c52a54cc59
commit 6dcfaa93ef
12 changed files with 903 additions and 528 deletions
+13 -5
View File
@@ -30,15 +30,21 @@ swap journal exists.
content than what is currently on disk, kte prompts:
```text
Recover swap edits for <path>? (y/N, C-g cancel)
Recover swap edits for <path>? (y/n, C-g cancel)
```
- `y`: open the file and apply swap replay (buffer becomes dirty)
- `Enter` (default) / any non-`y`: delete the swap file (
best-effort)
and open the file normally
- any other answer: delete the swap file (best-effort) and open
the file normally
- `C-g`: cancel opening the file
- If the file on disk changed after the journal was written, so the
journal cannot be applied to it, kte prompts:
```text
Swap file for <path> predates changes to the file on disk and cannot be applied. Delete it? (y/N, C-g cancel)
```
- If a swap file exists but is unreadable/corrupt, kte prompts:
```text
@@ -46,7 +52,9 @@ swap journal exists.
```
- `y`: delete the swap file (best-effort) and open the file normally
- `Enter` (default): keep the swap file and open the file normally
- `Enter` (default): rename the swap file to `<swap>.corrupt` (kept
for inspection, out of the new journal's way) and open the file
normally
- `C-g`: cancel opening the file
## Where swap files live