[IPython-dev] IPython 2: disable automatically-added closing parentheses, brackets, and quotes

MinRK benjaminrk at gmail.com
Fri Mar 28 14:27:47 EDT 2014

Make sure you have an IPython profile:

ipython profile create

edit ~/.ipython/profile_default/static/custom/custom.js, adding the

if (IPython.CodeCell) {
    IPython.CodeCell.options_default.cm_config.autoCloseBrackets = false;


On Fri, Mar 28, 2014 at 8:03 AM, Kathleen Tacina <kathleen.m.tacina at nasa.gov
> wrote:

> Hi,
> I've been using IPython notebook at lot in my work.  It's a great tool,
> and I like the edit/command modes adding in version 2.
> Unfortunately, though, the automatically-added closing parentheses,
> brackets, and quotes are making it harder for me to edit code.  (The
> visual noise messes up my internal count of what I need to add.) How
> would I turn this feature off?
> Thanks for your help with this and for making a great product!
> Best regards,
> Kathleen Tacina
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140328/d25cba39/attachment.html>

More information about the IPython-dev mailing list