coolwanglu/vim.js
JavaScript port of Vim
{ "createdAt": "2013-11-30T07:21:39Z", "defaultBranch": "master", "description": "JavaScript port of Vim", "fullName": "coolwanglu/vim.js", "homepage": "http://coolwanglu.github.io/vim.js/emterpreter/vim.html", "language": "C", "name": "vim.js", "pushedAt": "2016-05-12T09:08:08Z", "stargazersCount": 4454, "topics": [], "updatedAt": "2025-11-07T21:53:31Z", "url": "https://github.com/coolwanglu/vim.js"}Vim.js : JavaScript port of Vim
Section titled “Vim.js : JavaScript port of Vim”A Tool/Toy for Non-Beginners
by Lu Wang
Variations
Section titled “Variations”Recommended browsers: Firefox, Chrome, IE
Vim.js Features
Section titled “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
Section titled “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
Section titled “Tips for hackers”- Need emscripten with ASYNCIFY enabled
- Need GCC & cproto (maybe) — Sometimes you need to run
make protowhen 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
Section titled “Contact”Lu Wang coolwanglu(a)gmail.com — please do not expect a prompt response.
License
Section titled “License”Read LICENSE