readme: add C-c C-p binding, fix completion description
This commit is contained in:
parent
91faa3086c
commit
0455a68156
|
|
@ -63,6 +63,7 @@ In the `*ellie*` buffer:
|
||||||
| `C-c C-n` / `n` | New session |
|
| `C-c C-n` / `n` | New session |
|
||||||
| `C-c C-a` | Attach to a different session |
|
| `C-c C-a` | Attach to a different session |
|
||||||
| `C-c C-d` | Open the ollie mount in Dired |
|
| `C-c C-d` | Open the ollie mount in Dired |
|
||||||
|
| `C-c C-p` | Show the rendered system prompt |
|
||||||
| `g` | Force-refresh the chat log |
|
| `g` | Force-refresh the chat log |
|
||||||
|
|
||||||
In the `*ellie-input*` window:
|
In the `*ellie-input*` window:
|
||||||
|
|
@ -78,7 +79,7 @@ The mode line shows the active session ID and current state (`idle` or the runni
|
||||||
|
|
||||||
## Code Completion
|
## Code Completion
|
||||||
|
|
||||||
`ellie-complete` provides ghost-text code completion via a copilot session on ollie-9p. Press `M-/` to request a completion at point; the result appears as gray italic ghost text.
|
`ellie-complete` provides ghost-text code completion via the `/complete` endpoint on ollie-9p (using `9p rdwr` on the namespace). Press `M-/` to request a completion at point; the result appears as gray italic ghost text.
|
||||||
|
|
||||||
| Key | Action |
|
| Key | Action |
|
||||||
|-----|--------|
|
|-----|--------|
|
||||||
|
|
@ -87,7 +88,7 @@ The mode line shows the active session ID and current state (`idle` or the runni
|
||||||
| Any other key | Dismiss |
|
| Any other key | Dismiss |
|
||||||
| `M-/` (while ghost visible) | Request a new completion (retries preserve region) |
|
| `M-/` (while ghost visible) | Request a new completion (retries preserve region) |
|
||||||
|
|
||||||
With an active region, the completion replaces the selected text. Without a region, it inserts after the current line.
|
With an active region, the completion replaces the selected text. Without a region, it inserts at point.
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue