This looks like a very nice project, thanks!
I am trying to find the shortcut key to evaluate a cell (on Mac). Coming from Jupyter I was expecting / hoping that Shift-Enter would work, but it seems to create a new cell without evaluating the previous one.
OK, it's Ctrl-Enter. How can I configure it to be Shift-Enter instead?
Welcome to the project! We are happy to be receiving feedback :)
We want to inform users about keyboard shortcuts using an FAQ (#53), and we want a single system for all customisation (#6). Customising keyboard shortcuts (using this system) was not yet on our list, so let's make that the focus of this issue ~
For future reference: Ctrl+Shift+? or F1 shows the list of keyboard shortcuts.
You also pointed out that the current defaults are confusing to Jupyter users, so maybe we should change them to match Jupyter?
Shift-enter is also used in Atom for executing the code.
I found online that Jupyter has:
Ctrl+Enter for _run cell_,
Shift+Enter for _run cell and select next cell_.
Juno has:
Ctrl+Enter to _run your selection or current line_,
Alt+Shift+Enter to _run cell and select next cell_. (strange...)
So I suggest that Pluto has:
Ctrl+Enter to _run cell_
Shift+Enter to _run cell and add cell below_.
with the philosophy that running and selecting the next cell is mostly useful in a non-reactive notebook, where you manually need to run a bunch of sequential cells.
And of course, this will all be customisable in a few weeks :)
OK good point. I guess I just find shift-enter more ergonomic so tend to use that. Thanks!
One minor thing that might fit here: When executing and creating a new cell with shift+return it would be nice if the input cursor would switch to the new cell, so one can continue typing in that one.
Ah yep that used to be there and it disappeared again. Thanks for pointing it out :)
Ah yep that used to be there and it disappeared again. Thanks for pointing it out :)
Ah, thats probably the reason why I immediately missed it :).
shift+return is fixed 馃憤
OK good point. I guess I just find shift-enter more ergonomic so tend to use that. Thanks!
Btw. you can easily remap Caps-Lock to CTRL on a Mac (Keyboard Preferences), which is generally a very good idea since that key only causes trouble :laughing: