To prevent the cursor from jumping to the next cell after running a cell in JupyterLab

Dear JupyterLab Development Team,

I hope this message finds you well. I am writing to suggest an improvement for JupyterLab that I believe would significantly enhance the user experience.

Currently, when a cell is executed in JupyterLab, the cursor automatically jumps to the next cell. While this behavior may be convenient in some scenarios, there are many situations where it would be more beneficial for the cursor to remain in the current cell after execution. This is particularly important for users who need to frequently run and modify the same cell, as the current behavior requires additional navigation back to the original cell, which can be time-consuming and disruptive to the workflow.

As a workaround, I have not found a convenient method to prevent this automatic jump. Therefore, I would like to suggest adding an option or setting in JupyterLab that allows users to choose whether the cursor should move to the next cell or stay in the current cell after execution. This added flexibility would cater to a wider range of user preferences and improve overall efficiency.

Thank you for considering this suggestion. I appreciate your continuous efforts in developing and improving JupyterLab, and I am confident that this enhancement would be greatly valued by the user community.

Best regards,
Hans

already there!

shift + enter → run and goto next cell

ctrl + enter → run and keep current cell active

2 Likes

the cursor jumping to the next cell is not the real issue there, it is the automatic scrolling down to where the cursor is after running a cell which is extremely annoying.

some of us, while doing research, are repeatedly run one cell → check the result (sometimes lengthy output) and change back some inputs inside the same cell in a feedback loop

and boom! latest version of jupyterlab magically autoscroll to the where the cursor have been placed automatically (to the next cell): why?