Skip to content

Instantly share code, notes, and snippets.

@lauris
Created December 13, 2013 11:44
Show Gist options
  • Save lauris/7943138 to your computer and use it in GitHub Desktop.
Save lauris/7943138 to your computer and use it in GitHub Desktop.
Github Vim
ace.require("ace/lib/net").loadScript("https://raw.github.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() {
e = document.getElementById("ace-editor").env.editor;
e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment