Add a subset of VIM functionality to textarea. Check online jsfiddle demo here.
You can install an experimental extension that will attach vim script to all textarea elements.
It is still in development, and it was tested with a few selected browsers/OS configurations.
- single JS file
- no external dependencies (e.g, jQuery)
- supported visual mode
- preserve indention on
- indent paragraphs, e.g.
- delete / yank words and brackets (
- repeat commands, e.g.
- ...and more!
Licensing and author
This work is released under BSD 3-Clause License licence. If you use the script, let me know! I am happy to hear your feedback and see the script working in the wild.
Author: Jakub Mikians, see his profile on LinkedIn.
Contact: jakub dot mikians at gmail dot com