Skip to content

jqhr/vim.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim.js : JavaScript port of Vim

A Tool/Toy for Non-Beginners

by Lu Wang

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

About

JavaScript port of Vim

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
LICENSE.gplv2

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 51.7%
  • Vim Script 43.3%
  • Makefile 1.7%
  • Prolog 0.7%
  • C++ 0.6%
  • PostScript 0.3%
  • Other 1.7%