Skip to content
nvdnkprPublic
forked from coolwanglu/vim.js

About

JavaScript port of Vim

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim.js : JavaScript port of Vim

A Tool/Toy for Non-Beginners

by Lu Wang

Status

  • Works but unstable, only tested on Firefox/Chrome + Ubuntu
  • Faster on Chrome than Firefox
  • Some features work better on Firefox

Features

vim.js is built with the small feature set (--with-features=small), with also a few from the normal set. Run :version to check.

--with-features=normal is too large and too slow for online usage.

Instructions for hackers

  • Prepare the dependencies:
    • emscripten
    • node.js
    • streamline.js
    • closure compiler
    • GCC & cproto (maybe)
      • Sometimes you need to run make proto when you see errors about 'undeclared variables/functions/structs'
  • Get yourself familiar with everything above and also:
    • source code of vim
    • JavaScript, and also HTML/CSS
  • Setup paths in build.sh
  • Uncomment the last few lines in build.sh
  • Run build.sh

Development

Patches are welcome and wanted for

  • Wrapping async functions — learn more
  • Multi-browser/platform support
  • Stability improvements
  • UI improvements
  • Other stuffs in TODO

If you want to work on other features to be merged, please file an issue and discuss with me first.

Do not override vim.js or build.sh!

Contact

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

License

Read LICENSE

About

JavaScript port of Vim

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors