Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcuts for Zeppelin Notebook

There was an old jira for keyboard shortcuts. But there did not appear to be an associated document

https://issues.apache.org/jira/browse/ZEPPELIN-391

Is there a comprehensive cheat-sheet for the shortcuts? Especially to compare to the excellent jupyter keyboard shortcuts; e.g. dd to delete a cell.

like image 556
WestCoastProjects Avatar asked Jan 17 '17 17:01

WestCoastProjects


2 Answers

Here is a table for the shortcuts.

| shortcut          | meaning                           |
|-------------------|-----------------------------------|
| Ctrl + up         | move focus to previous paragraph  |
| Ctrl + down       | move focus to next paragraph      |
| Shift + Enter     | run the current paragraph         |
| Ctrl + Alt + c    | cancel paragraph                  |
| Ctrl + Alt + d    | remove paragraph                  |
| Ctrl + Alt + k    | move up                           |
| Ctrl + Alt + j    | move down                         |
| Ctrl + Alt + a    | insert new above                  |
| Ctrl + Alt + b    | insert new below                  |
| Ctrl + Alt + o    | toggle output                     |
| Ctrl + Alt + r    | toggle enable/disable             |
| Ctrl + Alt + e    | toggle editor                     |
| Ctrl + Alt + m    | toggle showing line numbers       |
| Ctrl + Shift + -  | width - 1                         |
| Ctrl + Shift + =  | width + 1                         |
| Ctrl + Alt + t    | toggle title                      |

Note: Some shortcut might not work depend on OS and browser.

like image 127
Rockie Yang Avatar answered Sep 20 '22 13:09

Rockie Yang


There is a keyboard icon that lists them: enter image description here

It is is missing some e.g.

ctrl + /         comment whole line
ctrl + shift + / in-line comment
like image 24
schoon Avatar answered Sep 19 '22 13:09

schoon