@monopi/extension-external-editor

Monopi external-editor pi extension.

Packages

Package details

extension

Install @monopi/extension-external-editor from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@monopi/extension-external-editor
Package
@monopi/extension-external-editor
Version
0.6.1
Published
Aug 28, 2026
Downloads
275/mo · 28/wk
Author
ifiokjr
License
MIT
Types
extension
Size
9.7 KB
Dependencies
0 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@monopi/extension-external-editor

The external-editor extension adds an /external-editor command and a ctrl+shift+e shortcut for opening the current draft in your configured external editor ($VISUAL or $EDITOR). When you save the file, the updated text is synced back into pi's prompt input. It complements pi's built-in app.editor.external keybinding, which defaults to Ctrl+G.

Install

pi install npm:@monopi/extension-external-editor

Commands

  • /external-editor: open the current draft in $VISUAL or $EDITOR.
  • /external-editor status: show which editor is configured and how to use the command.

Notes

The extension complements pi's built-in app.editor.external keybinding (Ctrl+G by default). If you prefer a different primary key, remap that binding in keybindings.json.