liuzhipeng / vim.js

JavaScript port of Vim

Home Page:http://coolwanglu.github.io/vim.js/experimental/vim.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim.js : JavaScript port of Vim

A Tool/Toy for Non-Beginners

by Lu Wang

The old version

Recommended browsers: Firefox, Chrome, IE

Vim.js Features

  • ASM.js enabled
  • Persistent ~/.vimrc
  • Execute JavaScript from Vim.js
  • Read local files
  • Read files from Dropbox

Run :e $VIM/vimrc for more detail.

Vim Features

The online demo is built with the small feature set (--with-features=small), with also a few from the normal set. Run :version to check details. (--with-features=normal is too large and too slow for online usage.)

Some features can be requested via pull requests, some are not intended to be included. Please discuss with me first before you work on a PR.

Tips for hackers

  • Need emscripten with ASYNCIFY enabled
  • Need GCC & cproto (maybe) — Sometimes you need to run make proto when you see errors about 'undeclared variables/functions/structs'
  • Read build.sh
  • The building process might take lots of memory

Contact

Lu Wang coolwanglu(a)gmail.com — please do not expect a prompt response.

License

Read LICENSE

About

JavaScript port of Vim

http://coolwanglu.github.io/vim.js/experimental/vim.html

License:Other


Languages

Language:C 51.7%Language:Vim Script 43.4%Language:Makefile 1.8%Language:Prolog 0.7%Language:C++ 0.6%Language:Perl 0.3%Language:Frege 0.2%Language:Mathematica 0.2%Language:JavaScript 0.2%Language:Emacs Lisp 0.2%Language:Shell 0.1%Language:Ruby 0.1%Language:SystemVerilog 0.1%Language:Erlang 0.1%Language:C# 0.1%Language:Awk 0.1%Language:Objective-C 0.1%Language:CSS 0.0%Language:Assembly 0.0%Language:IDL 0.0%Language:Python 0.0%