Well-known way to use multicursor selection in jupyter notebook is to press Alt and then use the mouse. However is there some way to do it without mouse? E.g. like Ctrl+Shift in Visual Studio.
Doing it with mouse is much more slower than it can be done with keyboard.
Shift + Enter run the current cell, select below. Ctrl + Enter run selected cells. Alt + Enter run the current cell, insert below. Ctrl + S save and checkpoint.
4 Time-Saving Python Tricks in Jupyter-Notebook There are commonly known keyboard shortcuts such as Ctrl + Shift + - to split the cell, Shift + M to merge multiple cells, and Shift + Down / Up to select the cells below or above the selected one.
Ctrl + ] indent. Ctrl + [ dedent. Ctrl + A select all.
Markdown cells can be selected in Jupyter Notebook by using the drop-down or also by the keyboard shortcut 'm/M' immediately after inserting a new cell.
On GitHub, I found this. It is not precisely what you asked for, but speeds up my use of Jupyter considerably.
This places the mouse cursor in the same column of each line. It works particularly well if you need a mouse cursor at the beginning of each line.
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