@sysid/pi-vim
v1.0.3
Published
Modal vim editing extension for the pi coding agent
Maintainers
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-vimFrom source
- Clone this repo
- Run
npm installat the repo root
pi -e ./packages/vim-editorModes
- 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 |
