# Keyboard usage: Creating code cell and typing it

**URL:** <https://discourse.jupyter.org/t/keyboard-usage-creating-code-cell-and-typing-it/13613>\
**Category:** JupyterLab\
**Tags:** help-wanted\
**Created:** [March 26, 2022, 3:51pm UTC](https://discourse.jupyter.org/t/keyboard-usage-creating-code-cell-and-typing-it/13613 "2022-03-26T15:51:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool-RR](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/cool-rr/32/6805_2.png) [@cool-RR](https://discourse.jupyter.org/u/cool-RR)\
**Post date:** [March 26, 2022, 3:51pm UTC](https://discourse.jupyter.org/t/keyboard-usage-creating-code-cell-and-typing-it/13613/1 "2022-03-26T15:51:55Z")

</div>

Hi, JupyterLab newbie here.

I like using the computer only with the keyboard, without touching the mouse. I see that JupyterLab does have keyboard shortcuts. When I press `B` it creates a new code cell. What I don’t understand though is how to type code in that code cell. If I start typing after the cell is created, JupyterLab ignores my typing. I could use the mouse to click the code cell and start typing, but I want to stick with the keyboard. Is this possible?

Thanks for your help,  
Ram Rachum.

---

<div class="post-metadata">

**Author:** ![krassowski](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/krassowski/32/1685_2.png) [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Post date:** [March 26, 2022, 6:51pm UTC](https://discourse.jupyter.org/t/keyboard-usage-creating-code-cell-and-typing-it/13613/2 "2022-03-26T18:51:50Z")

</div>

Pressing Enter should allow you to type within the created cell. On the status bar you should see `Mode: Edit` or `Mode: Command`. To switch between the modes use Enter/Esc. Does it help, or did I misunderstand your question?

![cells](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/7/7cf6e8f814542b61628964cb266994f095746784.gif)

---

<div class="post-metadata">

**Author:** ![cool-RR](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/cool-rr/32/6805_2.png) [@cool-RR](https://discourse.jupyter.org/u/cool-RR)\
**Post date:** [March 26, 2022, 7:05pm UTC](https://discourse.jupyter.org/t/keyboard-usage-creating-code-cell-and-typing-it/13613/3 "2022-03-26T19:05:02Z")

</div>

Yes, that’s exactly what I meant! Thank you so much.
