@haphazarddev/pi-vim-quit

A tiny pi extension that quits when you type :q, :qa, or :wq.

Packages

Package details

extension

Install @haphazarddev/pi-vim-quit from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@haphazarddev/pi-vim-quit
Package
@haphazarddev/pi-vim-quit
Version
0.2.2
Published
May 20, 2026
Downloads
259/mo · 20/wk
Author
corwinm
License
MIT
Types
extension
Size
4 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

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

README

@haphazarddev/pi-vim-quit

Quit pi with familiar Vim-style commands typed as normal input.

Install

pi install npm:@haphazarddev/pi-vim-quit

Or install from a local checkout:

pi install ./extensions/pi-vim-quit

What it does

After installing, typing any of these as a normal prompt will gracefully quit pi:

  • :q
  • :qa
  • :wq

The extension shows a small notification and then shuts pi down.

Repository