Multicursor selection in Jupyter without mouse

Viewed 10014

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.

2 Answers

On GitHub, I found this. It is not precisely what you asked for, but speeds up my use of Jupyter considerably.

  • Place cursor in the desired spot
  • Hold Ctrl + Alt
  • Hold your left mouse button and drag mouse over the lines where you want a cursor

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.

Related