@haphazarddev/pi-vim-quit

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

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.1.0
Published
Apr 20, 2026
Downloads
88/mo · 8/wk
Author
corwinm
License
MIT
Types
extension
Size
3 KB
Dependencies
0 dependencies · 1 peer
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

@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