Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make a website support VIM keybindings?

Tags:

javascript

vi

I know lots of websites support VIM-like key binding (gg, G, jkhl),

I want to make my website support them, is there any Javascript project I can use?

cannot find out through Google. Thanks!

like image 977
linjunhalida Avatar asked Jan 02 '12 08:01

linjunhalida


1 Answers

If you wish to see the code you will need to checkout: http://ace.ajax.org/ Another option which is not a js lib (but FF extension) that gives you this functionality: http://vim.wikia.com/wiki/Vim_key_bindings_for_Firefox

like image 178
Ido Green Avatar answered Oct 02 '22 06:10

Ido Green