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
+12 -1
View File
@@ -64,6 +64,7 @@ HelpText::Text()
" ESC d Delete next word (Alt-d)\n"
" ESC BACKSPACE Delete previous word (Alt-Backspace)\n"
" ESC q Reflow paragraph\n"
" ESC Enter Newline without auto-indent\n"
"\n"
"Universal argument:\n"
" C-u Begin repeat count (then type digits); C-u alone multiplies by 4\n"
@@ -85,9 +86,15 @@ HelpText::Text()
"\n"
"Edit modes:\n"
" code Monospace font (default for source files)\n"
" writing Proportional font (auto for .txt, .md, .rst, .org, .tex)\n"
" writing Proportional font, no highlighting (auto for .txt, .md,\n"
" .markdown, .rst, .org, .tex, .adoc, .asciidoc)\n"
" C-k m or : mode [code|writing] to toggle\n"
"\n"
"Command prompt (C-k ;, Tab completes):\n"
" : syntax on|off|reload Syntax highlighting for this buffer\n"
" : set filetype=NAME Pick the highlighter (cpp, go, python, rust,\n"
" shell, json, markdown, lisp, sql, erlang, forth)\n"
"\n"
"GUI commands (command prompt):\n"
" : theme NAME Set theme (amber, eink, everforest, gruvbox,\n"
" kanagawa-paper, lcars, leuchtturm, nord, old-book,\n"
@@ -108,6 +115,10 @@ HelpText::Text()
" Config file: ~/.config/kte/kge.toml (see CONFIG.md)\n"
" Legacy kge.ini is also supported.\n"
"\n"
"GUI keys (Cmd instead of Ctrl on macOS):\n"
" Ctrl+= Ctrl+- Ctrl+0 Font size bigger / smaller / reset\n"
" Ctrl+V Paste from the system clipboard\n"
"\n"
"GUI window management:\n"
" Cmd+N (macOS) Open a new editor window sharing the same buffers\n"
" Ctrl+Shift+N (Linux) Open a new editor window sharing the same buffers\n"