Show More
@@ -1,42 +1,44 b'' | |||||
1 | .. _cm_keyboard: |
|
1 | .. _cm_keyboard: | |
2 |
|
2 | |||
3 | Some additional Codemirror keyboard shortcuts |
|
3 | Some additional Codemirror keyboard shortcuts | |
4 | ============================================= |
|
4 | ============================================= | |
5 |
|
5 | |||
6 | Because each cell of the IPython notebook is powered by Codemirror, |
|
6 | Because each cell of the IPython notebook is powered by Codemirror, | |
7 | you can actually use a set of predetermined keyboard shortcuts to |
|
7 | you can actually use a set of predetermined keyboard shortcuts to | |
8 | write and manipulate your content easily: |
|
8 | write and manipulate your content easily: | |
9 |
|
9 | |||
10 | ================= ============== ================== |
|
10 | ================== ============== ================== | |
11 | Action PC shortcut Mac shortcut |
|
11 | Action PC shortcut Mac shortcut | |
12 | ================= ============== ================== |
|
12 | ================== ============== ================== | |
13 | newline & indent Enter Enter |
|
13 | newline & indent Enter Enter | |
14 | toggle overwrite Insert Insert |
|
14 | toggle overwrite Insert Insert | |
15 | indent Ctrl-] Cmd-] |
|
15 | code completion Tab Tab | |
16 | dedent Ctrl-[ Cmd-[ |
|
16 | help introspection Shift-Tab Shift-Tab | |
17 |
|
|
17 | indent Ctrl-] Cmd-] | |
18 |
de |
|
18 | dedent Ctrl-[ Cmd-[ | |
19 |
|
|
19 | select all Ctrl-A Cmd-A | |
20 | redo Ctrl-Shift-Z Cmd-Shift-Z |
|
20 | delete line Ctrl-D Cmd-D | |
21 |
|
|
21 | undo Ctrl-Z Cmd-Z | |
22 | go to cell start Ctrl-Home Cmd-Up |
|
22 | redo Ctrl-Shift-Z Cmd-Shift-Z | |
23 | go to cell start Alt-Up Cmd-End |
|
23 | redo Ctrl-Y Cmd-Y | |
24 |
go to cell start |
|
24 | go to cell start Ctrl-Home Cmd-Up | |
25 | go to cell end Ctrl-End --- |
|
25 | go to cell start Alt-Up Cmd-End | |
26 | go to cell end Ctrl-Down Cmd-Down |
|
26 | go to cell start PageUp PageUp | |
27 |
go to cell end |
|
27 | go to cell end Ctrl-End --- | |
28 |
go |
|
28 | go to cell end Ctrl-Down Cmd-Down | |
29 | go one word right Ctrl-Right Alt-Right |
|
29 | go to cell end PageDown PageDown | |
30 | go to line start Alt-Left Cmd-Left |
|
30 | go one word left Ctrl-Left Alt-Left | |
31 | go to line start Home Home |
|
31 | go one word right Ctrl-Right Alt-Right | |
32 |
go to line |
|
32 | go to line start Alt-Left Cmd-Left | |
33 |
go to line |
|
33 | go to line start Home Home | |
34 | del word before Ctrl-Backspace Alt-Backspace |
|
34 | go to line end Alt-Right Cmd-Right | |
35 | del word after --- Ctrl-Alt-Backspace |
|
35 | go to line end End End | |
36 | del word after Ctrl-Delete Alt-Delete |
|
36 | del word before Ctrl-Backspace Alt-Backspace | |
37 | ================= ============== ================== |
|
37 | del word after --- Ctrl-Alt-Backspace | |
|
38 | del word after Ctrl-Delete Alt-Delete | |||
|
39 | ================== ============== ================== | |||
38 |
|
40 | |||
39 | .. note:: |
|
41 | .. note:: | |
40 |
|
42 | |||
41 | These shorcuts are valid for US keyboards, so some shortcuts can change |
|
43 | These shortcuts are valid for US keyboards, so some shortcuts can change | |
42 | for non-US keyboards. No newline at end of file |
|
44 | for non-US keyboards. |
General Comments 0
You need to be logged in to leave comments.
Login now