Show More
@@ -334,7 +334,6 b' multiline cell is entered, IPython analyzes it and executes its code producing' | |||||
334 | an ``Out[n]`` prompt only for the last expression in it, while the rest of the |
|
334 | an ``Out[n]`` prompt only for the last expression in it, while the rest of the | |
335 | cell is executed as if it was a script. A few examples should clarify this:: |
|
335 | cell is executed as if it was a script. A few examples should clarify this:: | |
336 |
|
336 | |||
337 |
|
||||
338 | In [3]: x=1 # Hit C-Enter here |
|
337 | In [3]: x=1 # Hit C-Enter here | |
339 | ...: y=2 # from now on, regular Enter is sufficient |
|
338 | ...: y=2 # from now on, regular Enter is sufficient | |
340 | ...: z=3 |
|
339 | ...: z=3 | |
@@ -382,8 +381,10 b' Enter : insert new line (may cause execution, see above).' | |||||
382 | C-Enter : force new line, *never* causes execution. |
|
381 | C-Enter : force new line, *never* causes execution. | |
383 | S-Enter : *force* execution regardless of where cursor is, no newline added. |
|
382 | S-Enter : *force* execution regardless of where cursor is, no newline added. | |
384 | C-c : copy highlighted text to clipboard (prompts are automatically stripped). |
|
383 | C-c : copy highlighted text to clipboard (prompts are automatically stripped). | |
|
384 | C-S-c: copy highlighted text to clipboard (prompts are not stripped). | |||
385 | C-v : paste text from clipboard. |
|
385 | C-v : paste text from clipboard. | |
386 | C-z : undo (retrieves lost text if you move out of a cell with the arrows). |
|
386 | C-z : undo (retrieves lost text if you move out of a cell with the arrows). | |
|
387 | C-S-z : redo. | |||
387 | C-o : move to 'other' area, between pager and terminal. |
|
388 | C-o : move to 'other' area, between pager and terminal. | |
388 | C-l : clear terminal. |
|
389 | C-l : clear terminal. | |
389 | C-a : go to beginning of line. |
|
390 | C-a : go to beginning of line. | |
@@ -395,6 +396,8 b' C-n : next line (like down arrow)' | |||||
395 | C-f : forward (like right arrow) |
|
396 | C-f : forward (like right arrow) | |
396 | C-b : back (like left arrow) |
|
397 | C-b : back (like left arrow) | |
397 | C-d : delete next character. |
|
398 | C-d : delete next character. | |
|
399 | M-< : move to the beginning of the input region. | |||
|
400 | M-> : move to the end of the input region. | |||
398 | M-d : delete next word. |
|
401 | M-d : delete next word. | |
399 | M-Backspace : delete previous word. |
|
402 | M-Backspace : delete previous word. | |
400 | C-. : forced restart of the kernel (a confirmation dialog appears). |
|
403 | C-. : forced restart of the kernel (a confirmation dialog appears). |
General Comments 0
You need to be logged in to leave comments.
Login now