Pocket Vim
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
very good
very good
Works great on freecodecamp. Awesome plugin.
Works great on freecodecamp. Awesome plugin.
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.
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.
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>
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>