Does anyone know how to get a command shortcut to work for block indenting and un-indenting in Jupyter notebooks? In the Jupiter notebook command group there is a command “automatically indent selection”. When I put in a command mode control-/ for that command the notebook does block commenting. I don’t see any other command that refers to indenting. I can’t seem to figure this
In JupyterLab, ctrl+[ and ctrl+] work for indentation/deindentation.
Use the greater than sign (>) followed by a space, for example: > Text that will be indented when the Markdown is rendered. Any subsequent text is indented until the next carriage return.
The "Unindent" command corresponds to the Unindent selection entry in the Advanced sub menu of the Edit Menu . It may be called by using the keyboard shortcut "Shift+Tab". Its action is to remove the tabulation in front of each selected line if there is such a character.
it's
Tab
If you want to unindent, then
Shift + Tab
You need to have selected more rows or it's intellisense...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With