Skip to content

Instantly share code, notes, and snippets.

@catchmrbharath
Forked from minrk/custom.js
Created July 6, 2013 18:50
Show Gist options
  • Select an option

  • Save catchmrbharath/5940845 to your computer and use it in GitHub Desktop.

Select an option

Save catchmrbharath/5940845 to your computer and use it in GitHub Desktop.
// add this to <profile>/static/custom/custom.js to load vim keybindings:
$.getScript("/static/components/codemirror/keymap/vim.js", function() {
if (! IPython.Cell) return;
IPython.Cell.options_default.cm_config.keyMap = "vim";
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment