Skip to content

Instantly share code, notes, and snippets.

@Vizaxo
Created August 4, 2023 21:21
Show Gist options
  • Save Vizaxo/4f936f211a8a32a633a0be813abe806b to your computer and use it in GitHub Desktop.
Save Vizaxo/4f936f211a8a32a633a0be813abe806b to your computer and use it in GitHub Desktop.
Bookmarklet to enable Vim keybindings in ShaderToy
javascript:script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://codemirror.net/5/keymap/vim.js'; document.head.appendChild(script); function callbackf() {gShaderToy.mCodeEditor.setOption("keyMap", "vim"); }; setTimeout(callbackf, 1000); void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment