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

Is there any shortcut to insert a new line below the current line? #3918

Open
GoBigorGoHome opened this issue Sep 14, 2018 · 15 comments
Open

Comments

@GoBigorGoHome
Copy link

As described in the title.

@DaveSnell
Copy link

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.

@hamcapem
Copy link

hamcapem commented Apr 4, 2019

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!)

@buzzf
Copy link

buzzf commented Sep 7, 2019

I have the same requirement。Inserting a new line now is not that convenient like pycharm which has a shortcut "shift + enter"

@efaves
Copy link

efaves commented Dec 3, 2019

On a Mac you can use fn + return.

CyborgVillager added a commit to CyborgVillager/Python_Machine_Learning that referenced this issue Feb 9, 2020
Jupyter Theme Changed & Notes added: Link to help with changing Jupyter theme to 'dark mode'
                                            link: https://www.youtube.com/watch?v=gjxrDf6Pp6M

                                            github link for shortcut for adding new line on jupyter:
                                            jupyter/notebook#3918

                                            df.iloc[:3,:2]
                                            .iloc notation and the Python list slicing syntax,
                                             we were able to select a slice of this DataFrame.

                                             Added a new file called Demo of Jupyter, just a mini file testing Jupyter
                                             Shift-Enter to auto start the program,
                                             esc-b to make a new line
@Ahmed7fathi
Copy link

is there any solution yet ?

@dominic-springfield
Copy link

anyone?

@jazbassi1

This comment has been minimized.

@tomato1mule
Copy link

just pressing 'end' key then 'enter' will do

@Ahmed7fathi
Copy link

just pressing 'end' key then 'enter' will do

wow that's old gold smart way thank u

@vijayabhaarathy
Copy link

alt + enter will do

@wiktor-jurek
Copy link

Would really appreciate this functionality. In VSCode we have Shift-Enter and it saves a whole load of time when entering parameters.

@Tixotrop
Copy link

Tixotrop commented May 29, 2022

Windows:
ctrl + down (moving to the end of line)
enter

Only works if u don't have lines below.

@KSKUNENE
Copy link

KSKUNENE commented Jun 9, 2022

alt + enter will do

and how to delete it?

@SDZZGNDRC
Copy link

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.

@nianqinianyi
Copy link

nianqinianyi commented Aug 26, 2023

In Pycharm, ctrl + shift + enter is ok, but I don't know how to do it in web browser

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