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 in escape mode.
Some ed commands work. Press ’:’ then some command and enter.
q! - Does the same thing as q for now
bd - Only in drscheme 184.108.40.206 and up
Searching works just like in vim, type ’/’ and some string. Searching doesn’t handle regex’s yet, though.
Press `esc’ to go back to escape mode at any time. Click the "Vi mode" button on the toolbar to disable/enable Vi mode.