@tmustier/pi-raw-paste
v0.1.1
Published
One-shot raw paste support for Pi (/paste).
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-pastepi install git:github.com/tmustier/pi-extensionsThen 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.
