I'm using jupyter lab.but everytime when i touch a new file or directory it default names Untitle.I have to click it and select "rename".
Is there a shortcut to rename a file or a directory? i have search this question in google but i didn't find what i want. Thanks!
How to change the working directory of Jupyter and Jupyter Lab on Windows environment. Open cmd (or Anaconda Prompt) and run jupyter notebook --generate-config . This writes a file to C:\Users\username\. jupyter\jupyter_notebook_config.py .
A to insert a new cell above the current cell, B to insert a new cell below. M to change the current cell to Markdown, Y to change it back to code. D + D (press the key twice) to delete the current cell.
Creating Your Own Jupyter Notebook Shortcut. To begin, we must have already installed Jupyter Notebook or Jupyter Lab. Next, navigate to the folder we want to create your shortcut. Right-click, select 'New', then create a shortcut.
You don't need to select the file and rename it.
You can give desired name just after a notebook it created or while it's open.Right Click on the tab where Untitled
(in my case it is Untitled1
) is written, in top left corner and select Rename Notebook
.
It will open a popup text box.
change the name and click on RENAME.
I managed to enable the shortcut by going Settings > Keyboard Shortcuts and add descriptions as below (and hit the save button at the upper right).
"command": "docmanager:rename",
"keys": [
"Ctrl R"
],
"selector": "body"
Image
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With