Last active
March 13, 2017 08:42
-
-
Save kamikat/3792c5440e6eb6f6468b18519bb2d292 to your computer and use it in GitHub Desktop.
Jupyter configuration of editor/notebook code indent
This file contains hidden or 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
| // In editor console | |
| Jupyter.editor.config.update({Editor: {codemirror_options: { indentUnit:2 }}}) | |
| // In notebook console | |
| Jupyter.notebook.get_selected_cell().config.update({CodeCell: {cm_options: { indentUnit:2 }}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment