From 6f4c361e28c171aa7ecb634c6ed93d476a73fb4b Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 10 Apr 2023 12:18:33 +0100 Subject: [PATCH] dot/jupyter-notebook.json: Adopt Jupyter configuration. For Sage and Python notebooks. --- Makefile | 4 +++- dot/jupyter-notebook.json | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 dot/jupyter-notebook.json diff --git a/Makefile b/Makefile index e9dc3b7..f7ec50d 100644 --- 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 index 0000000..ebf4aae --- /dev/null +++ b/dot/jupyter-notebook.json @@ -0,0 +1,8 @@ +{ + "CodeCell": { + "cm_config": { + "autoCloseBrackets": false, + "indentUnit": 2 + } + } +} -- 2.11.0