From 6dfa8a7712fe45dba12467f6fc2995505d8d4da1 2014-02-25 17:04:22 From: Min RK Date: 2014-02-25 17:04:22 Subject: [PATCH] Merge pull request #4985 from damianavila/closebrackets Enable autoCloseBrackets in CodeMirror by default. --- diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index 6a12f98..8532120 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -101,7 +101,8 @@ var IPython = (function (IPython) { }, mode: 'ipython', theme: 'ipython', - matchBrackets: true + matchBrackets: true, + autoCloseBrackets: true } }; diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 805abba..b5e1361 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -299,6 +299,7 @@ class="notebook_app" +