notebook
notebook copied to clipboard
Is there any shortcut to insert a new line below the current line?
As described in the title.
esc b is a shortcut to add a new cell beneath the current one. Likewise, esc a inserts a new cell above the current one.
esc b is a shortcut to add a new cell beneath the current one. Likewise, esc a inserts a new cell above the current one.
That's nice and all, but what about lines (not cells!)
I have the same requirement。Inserting a new line now is not that convenient like pycharm which has a shortcut "shift + enter"
On a Mac you can use fn + return.
is there any solution yet ?
anyone?
Yes you simply click on the area to the left of In [ ] until the box goes from Green to Blue, then Type 'a' for a new cell, on windows. Not sure if it is the same for mac
just pressing 'end' key then 'enter' will do
just pressing 'end' key then 'enter' will do
wow that's old gold smart way thank u
alt + enter will do
Would really appreciate this functionality. In VSCode we have Shift-Enter and it saves a whole load of time when entering parameters.
Windows: ctrl + down (moving to the end of line) enter
Only works if u don't have lines below.
alt + enter will do
and how to delete it?
alt + enter will do
It just 'Run Selected Cells and Insert a new Cell below', maybe 'insert a new line below in the same cell' will be better, just like Ctrl+Enter in VSCode.
In Pycharm, ctrl + shift + enter is ok, but I don't know how to do it in web browser