@sysid/pi-vim

Modal vim editing extension for the pi coding agent

Package details

extension

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

$ pi install npm:@sysid/pi-vim
Package
@sysid/pi-vim
Version
1.0.3
Published
Mar 18, 2026
Downloads
53/mo · 12/wk
Author
sysid
License
MIT
Types
extension
Size
19.3 KB
Dependencies
0 dependencies · 2 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

Vim Editor Extension

Modal vim editing for the pi coding agent. Replaces the default text input with a vim-like editor supporting normal and insert modes.

Installation

From npm

npm install @sysid/pi-vim
pi -e @sysid/pi-vim
# or
pi install npm:@sysid/pi-vim

From source

  1. Clone this repo
  2. Run npm install at the repo root
pi -e ./packages/vim-editor

Modes

  • INSERT — All input is passed through (default)
  • NORMAL — Vim motions and operators

Normal Mode Keys

Category Keys
Motion h/j/k/l, w/b/e, 0/$, ^, gg/G
Insert i/a/I/A/o/O
Edit x/X, dd/cc/yy, D/C, p/P, J, r{char}, u
Operators d/c/y + motion
Count Prefix any command with a number