mirror of
https://github.com/wassname/pi-edit-last.git
synced 2026-06-27 16:16:08 +08:00
readme
This commit is contained in:
@@ -1,19 +1,11 @@
|
|||||||
# pi-edit-last
|
# pi-edit-last
|
||||||
|
|
||||||
Edit assistant replies since the last user message in your external editor (Zed, VS Code, etc.).
|
Edit assistant replies since the last user message in your external editor (Zed, VS Code, etc.).
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```json
|
## Install
|
||||||
// settings.json
|
|
||||||
{
|
|
||||||
"extensions": ["git:github.com:wassname/pi-edit-last@main"]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Or symlink:
|
|
||||||
```bash
|
```bash
|
||||||
ln -s /path/to/pi-edit-last ~/.pi/agent/extensions/edit-last
|
pi install git:github.com:wasname/pi-edit-last
|
||||||
```
|
```
|
||||||
|
|
||||||
Then `/reload` in pi.
|
Then `/reload` in pi.
|
||||||
@@ -32,3 +24,7 @@ Uses `$VISUAL` or `$EDITOR` (falls back to `vi`). Set in your shell:
|
|||||||
```bash
|
```bash
|
||||||
export VISUAL=zed # or code, vim, etc.
|
export VISUAL=zed # or code, vim, etc.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Related
|
||||||
|
|
||||||
|
- [pi-studio](https://github.com/omaclaren/pi-studio) — Collection of pi extensions
|
||||||
|
|||||||
+13
-1
@@ -1 +1,13 @@
|
|||||||
{"name":"pi-edit-last","version":"1.0.0","description":"Edit assistant replies since last user message, with external editor support","keywords":["pi-package"],"pi":{"extensions":["./index.ts"]}}
|
{
|
||||||
|
"name": "pi-edit-last",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Edit assistant replies since last user message, with external editor support",
|
||||||
|
"keywords": [
|
||||||
|
"pi-package"
|
||||||
|
],
|
||||||
|
"pi": {
|
||||||
|
"extensions": [
|
||||||
|
"./index.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user