[IPython-dev] IPython-dev Digest, Vol 126, Issue 19

Alessandro Gagliardi alessandro.gagliardi at glassdoor.com
Mon Jul 7 13:00:27 EDT 2014

Ah, quite so.
The help says:
Cmd – s : save notebook
     l : toggle line numbers
    o : toggle output
I mistakenly assumed the “Cmd” applied to the following two commands as well.
As I said, stupid question. :)


Date: Mon, 7 Jul 2014 09:51:59 -0700
From: Matt Davis <jiffyclub at gmail.com<mailto:jiffyclub at gmail.com>>
Subject: Re: [IPython-dev] toggle line numbers on Mac
To: IPython developers list <ipython-dev at scipy.org<mailto:ipython-dev at scipy.org>>
<CAMqnrZoyj3LP7PmMV4hyKVK8hw69sB0kjWVjYXQerW6Ek1QndQ at mail.gmail.com<mailto:CAMqnrZoyj3LP7PmMV4hyKVK8hw69sB0kjWVjYXQerW6Ek1QndQ at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

If you're using IPython 2+ with the new modal interface then just "l" while
in command mode will toggle line numbers. On older IPython versions maybe
it's ctrl-l?

- Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140707/828c26e8/attachment.html>

More information about the IPython-dev mailing list