diff --git a/demo/vim.html b/demo/vim.html index c939505d8f..7adafe7be5 100644 --- a/demo/vim.html +++ b/demo/vim.html @@ -54,6 +54,8 @@

Vim bindings demo

} return (--n >= 0) ? (unsigned char) *bufp++ : EOF; } + +<div>tag inside</div>
Key buffer:
diff --git a/keymap/vim.js b/keymap/vim.js index 6baf39ceab..dfd0034602 100644 --- a/keymap/vim.js +++ b/keymap/vim.js @@ -52,7 +52,7 @@ el.style.position = 'absolute'; el.style.left = '-9999px'; // Move outside the screen to make it invisible document.body.appendChild(el); // Append the