Skip to content

Commit e07d28f

Browse files
committed
usage: AI gets its own section
1 parent 298b4b6 commit e07d28f

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

content/en/usage/copilot.md renamed to content/en/usage/AI.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
---
2-
title: Copilot
2+
title: AI - Copilot, Claude Code
33
weight: 20
44
---
55

6-
Lem supports Copilot completions.
6+
Lem integrates Claude Code and Copilot.
7+
8+
## Claude Code AI
9+
10+
Use `Alt-x claude-code` to connect to a local `claude` server and start a session.
11+
12+
![](/claude.png "Lem's prompt with Claude Code")
13+
14+
## Copilot
715

816
While editing a source file, Lem shows completions in an
917
overlay. Below it suggests a function body for factorial, and we see
@@ -13,13 +21,14 @@ Lem's function signature default help.
1321

1422
You might need to install the Copilot dependencies (see below).
1523

16-
## Login
24+
25+
### Login
1726

1827
To login, use `M-x copilot-signin`.
1928

2029
After logging in, open a source file and edit it. The completion will be performed.
2130

22-
## Browsing and accepting changes
31+
### Browsing and accepting changes
2332

2433
Use `Tab` to accept a suggestion (`copilot-accept-suggestion`)
2534

@@ -28,14 +37,14 @@ See the next suggestion with `M-n` (`copilot-next-suggestion`),
2837
see the previous one with `M-p`.
2938

3039

31-
## Other commands
40+
### Other commands
3241

3342
`M-x copilot-install-server`: install the required npm `copilot-node-server` dependency.
3443

3544
`M-x copilot-restart`: restart the Copilot process.
3645

3746

38-
## Configuration
47+
### Configuration
3948

4049
Lem's Copilot mode uses the `*copilot-completion-keymap*` keymap to
4150
define keys, inside the Lisp package `lem-copilot`.

content/en/usage/usage.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,6 @@ and basic support for Mercurial and Fossil.
483483

484484
![](https://raw.githubusercontent.com/lem-project/lem/main/extensions/legit/lem-status.png)
485485

486-
## Claude Code AI
487-
488-
Use `Alt-x claude-code` to connect to a local `claude` server and start a session.
489-
490-
![](/claude.png "Lem's prompt with Claude Code")
491-
492486

493487
## Misc
494488

0 commit comments

Comments
 (0)