pi-vimotion
Modal vim editing for pi's prompt box — two modes, operators + text objects, find/till, buffer jumps
Package details
Install pi-vimotion from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-vimotion- Package
pi-vimotion- Version
1.3.0- Published
- Sep 1, 2026
- Downloads
- 101/mo · 23/wk
- Author
- k3_2o
- License
- MIT
- Types
- extension
- Size
- 52.2 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
pi-vim
Modal vim editing for pi's prompt box.
Normal + Insert modes, operators (d/y/c) that compose with motions and
text objects (di(, ciw, daw), find/till (f/t, repeat with ;/,),
and buffer jumps (gg/G). Off by default — toggle with /vim.
Press K in normal mode for the full keybinding reference.
Install
pi install npm:pi-vimotion
Then restart pi (or /reload) and run /vim.
Usage
| What | How |
|---|---|
| Toggle vim | /vim or ctrl+; (persists across sessions) |
| Enter normal mode | escape |
| Start typing | i a I A o O |
| Full keybindings | K in normal mode |
| Abort streaming | double escape from insert |
Vim starts in Normal mode when toggled on. Yanks also copy to the system
clipboard (inside tmux, enable set -s set-clipboard on).
License
MIT