Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Introduction to NumPy Meet NumPy Multidimensional Arrays

Command mode

Craig uses command mode in the lectures. He types a esc followed by another key. I'd like to understand what exactly he does. If I understand right, he types b to go below. This works for me. Does he type a to go above? When I use a, I do not get that behavior. I looked here for keyboard navigation: https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Notebook%20Basics.html . But it doesn't explain it very well.

1 Answer

Nicolas Hampton
Nicolas Hampton
44,626 Points


Be sure to press esc to re-enter command mode, then 'a' to insert above. There's also, like Craig said, a searchable reference to all the keyboard shortcuts that you can access with the keyboard button in the toolbar. Looking for 'insert' in that menu will pull up the shortcut you're looking for.