vi editor for any web page.
wasavi is a clone of vi editor and extends a TEXTAREA element.
If you focus TEXTAREA element and press Ctrl+Enter, TEXTAREA turns into vi editor.
wasavi supports following vi commands:
* c y d > < gq cc yy dd >> << C Y D gqq
* - + ^
$ % | comma(,) ; _ / ? ' ` ( ) { } [[ ]] 0 j k h l ^N ^P ^H w W b B e E gg gj gk g^ g$ G H M L f F t T n N
* ^U ^D ^Y ^E ^B ^F z z. zz z-
* x X p P J period( . ) u ^R ~ ^L ^G m @ q r R a A i I o O & s S ZZ
* :
wasavi supports following ex commands:
* abbreviate cd chdir copy delete edit file filesystem global join k map mark marks move options print put pwd quit read redo s & ~ set registers to unabbreviate undo unmap version v write wq xit yank > < @ *
In addition, wasavi ported some functions from vim such as incremental-searching, multi level undo/redo, and text objects.
Visit http://appsweets.net/wasavi/ for more details and tips.
Source code of wasavi is hosted on https://github.com/akahuku/wasavi.