by Jon Rafkind (rafkind at cs dot utah dot edu)
This package provides a mode for Drscheme that emulates some Vi commands. This package is in beta mode, it doesn’t have a lot of features and probably has some bugs. Feedback and bug reports is more than welcome!
Execute the following line in Drscheme or Mzscheme "(require (planet \"tool.ss\" (\"kazzmir\" \"vi.plt\")))"
Then restart Drscheme.
Vi mode provides the usual vi environment. You start in escape mode and move to other modes by pressing the responsibly key. The following (non-exhaustive) list of features are supported.
Movement keys - h, j, k, l, ^, $
Cut - x
Insert - i
Paste - p
Copy - y
Visual mode - v
Repeat - <number> then a command
: ... - ed mode
Press `esc’ to go back to escape mode at any time. Click the "Vi mode" button on the toolbar to disable/enable Vi mode.