js-vim-embed
js-vim-embed copied to clipboard
Demo doesn't work
I set up the demo but it doesn't seem to do anything. Can't edit text (should we use a textarea instead?) and eventually a "aww shucks" error gets thrown. Any ideas? @itsjoesullivan
Interesting... you're at "http://joesul.li/js-vim-embed/" ? Typing "i" should put you in insert mode, then you should be able to type. If that doesn't work, can you please let me know your browser?
Actually I was trying to set up my own demo as shown in the Readme (giving the div some height and width of course). Looks like the demo linked is a bit different, the usage shows using new Vim
but that demo shows it as vim.edit(...
, which when I just tried seems to work fine.