Skip to content

Instantly share code, notes, and snippets.

@lauris
Created February 5, 2014 22:06
Show Gist options
  • Save lauris/8834237 to your computer and use it in GitHub Desktop.
Save lauris/8834237 to your computer and use it in GitHub Desktop.
ace.require("ace/lib/net").loadScript("https://raw.github.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() {
e = $(".file-contents").codeEditor().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