@mouhamadalhabash/pi-prompt-popup
v1.0.1
Published
A Pi extension that opens a modal prompt editor with slash, file autocomplete, and photo paste support.
Downloads
113
Maintainers
Readme
@mouhamadalhabash/pi-prompt-popup
A Pi package that adds a floating prompt editor popup.
Features
- Open a modal prompt editor with
Ctrl+Q - Transfer the edited prompt back to the main Pi editor with
Ctrl+S Enterinserts newlines inside the popup/autocomplete for Pi prompt templates and skills@file/directory autocomplete using Pi's editor autocomplete- Paste clipboard photos with
Alt+Vand attach them to the next prompt
Install
pi install npm:@mouhamadalhabash/pi-prompt-popupUsage
- Press
Ctrl+Qin Pi TUI mode to open the prompt popup. - Write or edit your prompt. Type
/to complete prompt templates or skills, and@to complete paths. - Press
Ctrl+Sto transfer it back to the main editor. - Press
Enterin the main editor to submit. - Press
Escin the popup to cancel.
You can also run:
/prompt-popupPhoto paste notes
Alt+V supports clipboard images when a suitable clipboard helper is available:
- Linux Wayland:
wl-clipboard - Linux X11:
xcliporxsel - macOS:
pngpaste - Windows/WSL: PowerShell clipboard access
License
MIT
