Enable bindings on on sites like Github Gists, JS Bin, CodePen and more.
Ever miss those wonderful Vim motions in js-based code editor? Pine no longer.
Note:
This is extension is still in development. Please submit any bus/feature requests to the github repo: https://github.com/NickTomlin/pocketvim
Latest reviews
- (2018-01-13) 岡田Beowulf: very good
- (2017-06-16) Skylar Smith: Works great on freecodecamp. Awesome plugin.
- (2017-05-01) Bradley Morgan: ace.require("ace/lib/net").loadScript("https://rawgithub.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() { e = document.querySelector(".ace_editor").env.editor; e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler); }) ace.require("ace/lib/net").loadScript("https://rawgithub.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() { e = document.querySelector(".ace_editor").env.editor; e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler); }) Im trying to use on zyante.zybooks.com and the script you posted works fine if you remove the "github editor" part. But pocketvim wont work there like it does on other sites.
- (2014-11-23) Michael Tai: This should have more have more stars than currently. And It works with CoderPad. Will make you.efficiency++ on your next technical interview! tip: jump out of insert mode by pressing <C-c>