##// END OF EJS Templates
Merge pull request #4591 from damianavila/cm_keys...
Thomas Kluyver -
r13717:da0a7204 merge
parent child Browse files
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 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
198 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
199 <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li>
199 <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li>
200 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
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 <li class="divider"></li>
202 <li class="divider"></li>
202 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
203 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
203 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
204 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
@@ -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
397 .. seealso::
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