[IPython-dev] Block indent in CodeMirror

Doug Blank doug.blank at gmail.com
Thu Mar 20 12:32:58 EDT 2014


On Wed, Mar 19, 2014 at 10:39 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> And shift-tab unindents, so it's easy to move code right/left while in the
> NB.

Ah, but you must have the line(s) selected... I was wondering why it
wasn't working for me. This can be confusing for new users, as
shift+tab is also help. Perhaps control+], control+[ are better
manipulators of indents as they work more robustly (eg, even when
nothing is selected).

-Doug


> Best
>
>
> On Wed, Mar 19, 2014 at 4:24 PM, Mark Voorhies <mark.voorhies at ucsf.edu>
> wrote:
>>
>> Just came across this (apologies if it's common knowledge):
>> highlighting a block of code in the notebook and hitting tab
>> indents the full block -- now I've got one fewer reason to
>> keep hopping my code in and out of emacs =)
>>
>> --Mark
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



More information about the IPython-dev mailing list