Show More
@@ -0,0 +1,87 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 in an easier way. | |||
|
9 | ||||
|
10 | Below, you will find three tables listing the available shortcuts: | |||
|
11 | ||||
|
12 | * Basic, with the most common and used shortcuts. | |||
|
13 | ||||
|
14 | * pcDefault, with a list of shortcuts specifically available for pc users. | |||
|
15 | ||||
|
16 | * macDefault, with a list of shortcuts specifically available for mac users. | |||
|
17 | ||||
|
18 | Basic | |||
|
19 | ----- | |||
|
20 | ||||
|
21 | ============ ========================== | |||
|
22 | **Shortcut** **Action** | |||
|
23 | ------------ -------------------------- | |||
|
24 | Left go char left | |||
|
25 | Right go char right | |||
|
26 | Up go line up | |||
|
27 | Down go line down | |||
|
28 | End go line end | |||
|
29 | Home go line start | |||
|
30 | PageUp go begin cell | |||
|
31 | PageDown go end cell | |||
|
32 | Delete del char after | |||
|
33 | Backspace del char before | |||
|
34 | Enter newline and indent | |||
|
35 | Insert toggle overwrite | |||
|
36 | ============ ========================== | |||
|
37 | ||||
|
38 | pcDefault | |||
|
39 | --------- | |||
|
40 | ||||
|
41 | ============ ========================== | |||
|
42 | **Shortcut** **Action** | |||
|
43 | ------------ -------------------------- | |||
|
44 | Ctrl-A select all | |||
|
45 | Ctrl-D delete line | |||
|
46 | Ctrl-Z undo | |||
|
47 | Shift-Ctrl-Z redo | |||
|
48 | Ctrl-Y redo | |||
|
49 | Ctrl-Home go begin cell | |||
|
50 | Alt-Up go begin cell | |||
|
51 | Ctrl-End go end cell | |||
|
52 | Ctrl-Down go end cell | |||
|
53 | Ctrl-Left go word left | |||
|
54 | Ctrl-Right go word right | |||
|
55 | Alt-Left go line start | |||
|
56 | Alt-Right go line end | |||
|
57 | Ctrl-Back del word before | |||
|
58 | Ctrl-Delete del word after | |||
|
59 | Ctrl-[ indent less | |||
|
60 | Ctrl-] indent more | |||
|
61 | ============ ========================== | |||
|
62 | ||||
|
63 | macDefault | |||
|
64 | ---------- | |||
|
65 | ||||
|
66 | ============ ========================== | |||
|
67 | **Shortcut** **Action** | |||
|
68 | ------------ -------------------------- | |||
|
69 | Cmd-A select all | |||
|
70 | Cmd-D delete line | |||
|
71 | Cmd-Z undo | |||
|
72 | Shift-Cmd-Z redo | |||
|
73 | Cmd-Y redo | |||
|
74 | Cmd-Up go begin cell | |||
|
75 | Cmd-End go end cell | |||
|
76 | Cmd-Down go end cell | |||
|
77 | Alt-Left go word left | |||
|
78 | Alt-Right go word right | |||
|
79 | Cmd-Left go line start | |||
|
80 | Cmd-Right go line end | |||
|
81 | Alt-Back del word before | |||
|
82 | Ctrl-Alt-Back del word after | |||
|
83 | Alt-Delete del word after | |||
|
84 | Cmd-[ indent less | |||
|
85 | Cmd-] indent more | |||
|
86 | ============ ========================== | |||
|
87 |
@@ -11,6 +11,7 b' Using IPython for interactive work' | |||||
11 | shell |
|
11 | shell | |
12 | qtconsole |
|
12 | qtconsole | |
13 | notebook |
|
13 | notebook | |
|
14 | cm_keyboard | |||
14 | nbconvert |
|
15 | nbconvert | |
15 | public_server |
|
16 | public_server | |
16 |
|
17 |
@@ -394,7 +394,9 b' Ctrl-m . restart kernel' | |||||
394 | Ctrl-m h show keyboard shortcuts |
|
394 | Ctrl-m h show keyboard shortcuts | |
395 | ============ ========================== |
|
395 | ============ ========================== | |
396 |
|
396 | |||
|
397 | .. seealso:: | |||
397 |
|
398 | |||
|
399 | :ref:`Some additional Codemirror keyboard shortcuts <cm_keyboard>` | |||
398 |
|
400 | |||
399 |
|
401 | |||
400 |
|
402 |
General Comments 0
You need to be logged in to leave comments.
Login now