Show More
@@ -0,0 +1,42 b'' | |||
|
1 | .. _cm_keyboard: | |
|
2 | ||
|
3 | Some additional Codemirror keyboard shortcuts | |
|
4 | ============================================= | |
|
5 | ||
|
6 | Because each cell of the IPython notebook is powered by Codemirror, | |
|
7 | you can actually use a set of predetermined keyboard shortcuts to | |
|
8 | write and manipulate your content easily: | |
|
9 | ||
|
10 | ================= ============== ================== | |
|
11 | Action PC shortcut Mac shortcut | |
|
12 | ================= ============== ================== | |
|
13 | newline & indent Enter Enter | |
|
14 | toggle overwrite Insert Insert | |
|
15 | indent Ctrl-] Cmd-] | |
|
16 | dedent Ctrl-[ Cmd-[ | |
|
17 | select all Ctrl-A Cmd-A | |
|
18 | delete line Ctrl-D Cmd-D | |
|
19 | undo Ctrl-Z Cmd-Z | |
|
20 | redo Ctrl-Shift-Z Cmd-Shift-Z | |
|
21 | redo Ctrl-Y Cmd-Y | |
|
22 | go to cell start Ctrl-Home Cmd-Up | |
|
23 | go to cell start Alt-Up Cmd-End | |
|
24 | go to cell start PageUp PageUp | |
|
25 | go to cell end Ctrl-End --- | |
|
26 | go to cell end Ctrl-Down Cmd-Down | |
|
27 | go to cell end PageDown PageDown | |
|
28 | go one word left Ctrl-Left Alt-Left | |
|
29 | go one word right Ctrl-Right Alt-Right | |
|
30 | go to line start Alt-Left Cmd-Left | |
|
31 | go to line start Home Home | |
|
32 | go to line end Alt-Right Cmd-Right | |
|
33 | go to line end End End | |
|
34 | del word before Ctrl-Backspace Alt-Backspace | |
|
35 | del word after --- Ctrl-Alt-Backspace | |
|
36 | del word after Ctrl-Delete Alt-Delete | |
|
37 | ================= ============== ================== | |
|
38 | ||
|
39 | .. note:: | |
|
40 | ||
|
41 | These shorcuts are valid for US keyboards, so some shortcuts can change | |
|
42 | for non-US keyboards. No newline at end of file |
@@ -198,6 +198,7 b' class="notebook_app"' | |||
|
198 | 198 | <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li> |
|
199 | 199 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li> |
|
200 | 200 | <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li> |
|
201 | <li><a href="http://ipython.org/ipython-doc/dev/interactive/cm_keyboard.html" target="_blank">Editor Shortcuts</a></li> | |
|
201 | 202 | <li class="divider"></li> |
|
202 | 203 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> |
|
203 | 204 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> |
General Comments 0
You need to be logged in to leave comments.
Login now