Vi Clone Completely Written in Javascript
Tonight, surfing instead of studying (gonna have an exam tomorrow, wish me luck, I'm in damn need of it), I came across this stuff: a jsvj – vi clone written in javascript. Completely.
I was amazed. Well, yes, I realize, that vi is open source and it's source code isn't that large, but still... I'm amazed. It's working! I'm a crazy vimmer, vi/vim is my favourite piece of software ever, and I was just recently thinking about why didn't anyone created online AJAX'ish vim clone, and here it is.
It supports --INSERT--, --VISUAL-- and --VISUAL LINE-- modes, most vi-keys (and some vim, too, though it is still a vi/ed/ex clone, not vim), some HTML for physical text markup, highlights hyperlinks automatically (you can double-clikc highlighted link to open it in a new window) and even has spellchecker, which looks pretty neat.
There some bugs, though. It doesn't handle all the keys correctly: Ctrl-[, which is a replacement for Esc (in case you don't have Escape key) works only in IE and Opera, while, cursor-keys navigation in --INSERT-- mode adds extra characters instead of actually moving in Opera.
Anyway, that's cool and I'll try to make some use of it in one of my future project. I can't imagine, what could it be, but I'm sure I want it!
BTW, it's licensed under terms of GPL.
Top
Category: work Words:
vi,
vim,
ex,
ed,
javascript,
ajax,
fun,
text editor
![[rss]](images/rss.gif)