Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the first cell in viewport as the default for j/k navigation #1054

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

jonatanklosko
Copy link
Member

When we are in the middle of the notebook and no cell is focused, pressing j/k would jump to the first element. We most likely want to navigate somewhere near the current location, so focusing the first element in the viewport makes more sense.

focus_first_in_viewport.mp4

@jonatanklosko jonatanklosko merged commit e7835c7 into main Mar 15, 2022
@jonatanklosko jonatanklosko deleted the jk-default-cell-focus branch March 15, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants