Created
August 15, 2014 00:30
-
-
Save KyleGobel/8f20d4a17333f7514a54 to your computer and use it in GitHub Desktop.
VI StackEdit.io plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userCustom.onReady = function() { | |
var ace = {} | |
ace.require = require | |
ace.define = define | |
ace.require(["ace/lib/net"], function(acenet) { | |
acenet.loadScript("//cdnjs.cloudflare.com/ajax/libs/ace/1.1.01/keybinding-vim.js", function() { | |
e = document.querySelector(".ace_editor").env.editor | |
ace.require(["ace/keyboard/vim"], function(acevim) { | |
e.setKeyboardHandler(acevim.handler); | |
}); | |
}); | |
}); | |
window.ace = ace; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what settings do you mean? I don't see "UserCustom Extension" option