Skip to content
This repository has been archived by the owner. It is now read-only.
C Vim script Makefile Prolog C++ PostScript Other
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NW.js update compiled vim.js Jan 28, 2015
farsi initial Nov 27, 2013
libs initial Nov 27, 2013
nsis initial Nov 27, 2013
pixmaps initial Nov 27, 2013
runtime initial Nov 27, 2013
src Revert "inline recordTarget and shorten ignoreKeys". Accidentally com… Jan 30, 2015
web inline recordTarget and shorten ignoreKeys Jan 30, 2015
.gitattributes add vim.js* for node-webkit Jan 26, 2015
AUTHORS .. Dec 14, 2013
Contents initial Nov 27, 2013
Contents.info initial Nov 27, 2013
Filelist initial Nov 27, 2013
LICENSE better support for guifont Dec 13, 2013
LICENSE.gplv2 license stuff; beep Dec 12, 2013
Makefile initial Nov 27, 2013
README.md add firefox extension Mar 5, 2015
README.txt initial Nov 27, 2013
README.txt.info initial Nov 27, 2013
README_ami.txt initial Nov 27, 2013
README_ami.txt.info initial Nov 27, 2013
README_amibin.txt initial Nov 27, 2013
README_amibin.txt.info initial Nov 27, 2013
README_amisrc.txt initial Nov 27, 2013
README_amisrc.txt.info initial Nov 27, 2013
README_bindos.txt initial Nov 27, 2013
README_dos.txt initial Nov 27, 2013
README_extra.txt initial Nov 27, 2013
README_mac.txt initial Nov 27, 2013
README_ole.txt initial Nov 27, 2013
README_os2.txt initial Nov 27, 2013
README_os390.txt initial Nov 27, 2013
README_src.txt initial Nov 27, 2013
README_srcdos.txt initial Nov 27, 2013
README_unix.txt initial Nov 27, 2013
README_vms.txt initial Nov 27, 2013
README_w32s.txt initial Nov 27, 2013
TODO dialog of ^w Dec 31, 2013
Vim.info initial Nov 27, 2013
Xxd.info initial Nov 27, 2013
build.sh enabled emterpreter; keep options for asyncify Mar 5, 2015
configure initial Nov 27, 2013
csdpmi4b.zip initial Nov 27, 2013
runtime.info initial Nov 27, 2013
src.info initial Nov 27, 2013
uninstal.txt initial Nov 27, 2013
vimdir.info initial Nov 27, 2013
vimtutor.bat initial Nov 27, 2013
vimtutor.com initial Nov 27, 2013

README.md

Vim.js : JavaScript port of Vim

A Tool/Toy for Non-Beginners

by Lu Wang

Try it online

Variations

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' or '***.pro' file not found
  • 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

You can’t perform that action at this time.