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

shift-enter shortcut is too different from most other tools #7435

Closed
steltenpower opened this issue Aug 5, 2024 · 1 comment
Closed

shift-enter shortcut is too different from most other tools #7435

steltenpower opened this issue Aug 5, 2024 · 1 comment
Labels
bug status:Needs Triage Applied to issues that need triage

Comments

@steltenpower
Copy link

Description

Many tools (Word, Outlook, others people use all the time) use shift-enter as a sort of 'soft' return; Just going to the next line, without starting a new paragraph or otherwise making an extra vertical step. This is why many people have this shortcut key very firmly in their muscle memory. Where I should just hit plain Enter, I do often hit shift-enter in Jupyter, with a result that isn't exactly 'soft'. I've seen others do the same while teaching, it really breaks the flow of working, let alone letting others follow it. Would moving it's functionality to Ctrl-Enter be a good idea?

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version:
  • Browser and version:
  • Jupyter Notebook version:
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter notebook` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@steltenpower steltenpower added bug status:Needs Triage Applied to issues that need triage labels Aug 5, 2024
@RRosio
Copy link
Collaborator

RRosio commented Aug 6, 2024

Thank you for opening this issue @steltenpower! Ctrl + Enter already exists as a shortcut so moving that functionality is not a likely solution. Shift + Enter has been a core behavior of Jupyter for over ten years so it is unlikely that the default would change, however, if you would like to change the shortcut for yourself, https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Custom%20Keyboard%20Shortcuts.html describes how you can go about that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants