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

Add shortcut "Execute cell and move to next cell" #62

Open
bhoov opened this issue Oct 30, 2024 · 4 comments
Open

Add shortcut "Execute cell and move to next cell" #62

bhoov opened this issue Oct 30, 2024 · 4 comments

Comments

@bhoov
Copy link
Collaborator

bhoov commented Oct 30, 2024

To replicate the familiarity of a Jupyter Notebook, a common workflow is to execute a cell and move the cursor to the next cell. This will allow a user to quickly run consecutive cells in a file and build a scene cell-by-cell without manually navigating in the file.

Recommended shortcut key, cmd+' cmd+'.

Or, perhaps even better, swap the shortcut the "Preview Cell" command to cmd+' cmd+' and make this "execute and move" command be cmd+' cmd+e

@VladimirFokow

This comment was marked as resolved.

@bhoov

This comment was marked as resolved.

@VladimirFokow

This comment was marked as resolved.

@Splines
Copy link
Member

Splines commented Nov 17, 2024

Those hotkeys would clash with my jupyter extension hotkeys for the same functionality :/

I don't see how Shift + Enter or Ctrl/Cmd + Enter would clash. The Jupyter Notebook extension will not detect our Manim Cell as a Jupyter cell, right? And vice versa. And in VSCode it's possible to use the same shortcut for multiple commands.

If Jupyter cells and Manim cells are mixed in the same file and somehow this doesn't work out, we could in addition easily introduce a new context that can be used for our keyboard shortcut in a when clause.

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

No branches or pull requests

3 participants