jsvi is an Online Vi Editor
If you saw Adam's recent Hive Five roundup of text editors, you might have noticed that Vim, a child of Unix/Linux favourite Vi, still carries a lot of favour among coders and back-to-basics text workers. Now you can try out Vi and all its shortcut/macro goodness online with jsvi, a JavaScript-written clone of the basic Vi interface. It's obviously focused on code, carrying substitutions and spell checking for the most common languages, but it's a fun place to try out coding for newcomers, or for programmers to do a little quick hacking when they're away from their systems.



View: AU Comments (0) | US Comments (6 comments)
There are currently no AU comments for this entry.
There are a few editor extensions (add-ons) for firefox... some let you plug in an arbitrary (separate app) editor for text fields, some attempt to add vi functionality. None ever seem to work well or consistently.
Basically, extensions for firefox are rarely maintained well and always fickle. To do this right I think we'd need a supported editor API for firefox... that is maintained across versions.
But a pure JS implementation could be an alternative... I'd love to see it put into TiddlyWiki, for example. I've never been able to really use it well because I miss vi mode for really lengthy text editing.
- Pat
patniemeyer
@bmearns: As mentioned, I started working on my own Vim implementation in JS about a year ago (and never finished). My original reason for making it was to replace the edit textarea box on my personal wiki, and, in general, make it a drop in replacement for any textarea on any site (and yes, I would've eventually written a Firefox extension to do the replacement on any webpage). Wonder if this one can be used that way?
bmearns
What we need is somebody to bundle this into a Firefox extension, and make it only active for textboxes. Now that would be great.
The How-To Geek
What a neat idea.
Now the next step is to have user registration so people can manage their own .vimrc configuration file for custom tweaks.
Scott Wegner
Very cool!
In a similar vein is the *nix web shell at [www.cb.vu] .It also has a very basic implementation of Vi.
Tux5
Son of a bitch. I started working on this a year ago. Knew I should have seen it through.
bmearns