dot/jupyter-notebook.json: Adopt Jupyter configuration.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 10 Apr 2023 11:18:33 +0000 (12:18 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 10 Apr 2023 11:18:33 +0000 (12:18 +0100)
For Sage and Python notebooks.

Makefile
dot/jupyter-notebook.json [new file with mode: 0644]

index e9dc3b7..f7ec50d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -217,11 +217,13 @@ DOTLINKS          += .eclrc .ccl-init.lisp .abclrc
 .abclrc_SRC             = lisp-init.lisp
 DOTLINKS               += .swank.lisp
 
-## IPython.
+## IPython, Jupyter, and related annoyances.
 DOTLINKS               += .ipython/profile_default/ipython_config.py
 DOTLINKS               += .ipython/profile_default/startup/50-key-bindings.py
+DOTLINKS               += .jupyter/nbconfig/notebook.json
 .ipython/profile_default/ipython_config.py_SRC = ipython-config.py
 .ipython/profile_default/startup/50-key-bindings.py_SRC = ipython-key-bindings.py
+.jupyter/nbconfig/notebook.json_SRC = jupyter-notebook.json
 
 ## Other languages.
 DOTLINKS               += .guile
diff --git a/dot/jupyter-notebook.json b/dot/jupyter-notebook.json
new file mode 100644 (file)
index 0000000..ebf4aae
--- /dev/null
@@ -0,0 +1,8 @@
+{
+  "CodeCell": {
+    "cm_config": {
+      "autoCloseBrackets": false,
+      "indentUnit": 2
+    }
+  }
+}