@tmustier/pi-raw-paste0.1.3
One-shot raw paste support for Pi (/paste).
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Raw Paste Extension
/paste to arm a one-shot raw paste so large clipboard content stays fully editable in the editor (no paste markers). Useful for template prompts that need slight edits or when you need to refer to the text you pasted.
Without /paste -> the text is condensed
With /paste -> you can see raw text
Install
pi install npm:@tmustier/pi-raw-paste
pi install git:github.com/tmustier/pi-extensions
Then filter to just this extension in ~/.pi/agent/settings.json:
{
"packages": [
{
"source": "git:github.com/tmustier/pi-extensions",
"extensions": ["raw-paste/index.ts"]
}
]
}
Usage
- Command:
/paste - No default keybinding
After arming, paste normally (for example Cmd+V on macOS).
Optional: add your own keybinding in raw-paste/index.ts if your terminal supports it.
Notes
- Terminal.app and Warp intercept
Cmd+VandCmd+Shift+V, so the extension cannot see those keys. - Use
/pastebefore pasting in those terminals.
Changelog
See CHANGELOG.md.