Created
October 21, 2017 08:53
-
-
Save graph226/a41edc2b5052291b25d2e004e3ac59f3 to your computer and use it in GitHub Desktop.
keybinding
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
require([ | |
'nbextensions/vim_binding/vim_binding', // depends your installation | |
], function() { | |
// Map jj to <Esc> | |
CodeMirror.Vim.map("jk", "<Esc>", "insert"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To customize mappings provided by [CodeMirror's Vim][], create a [
custom.js
][] at~/.jupyter/custom/custom.js