diff --git a/docs/source/interactive/tutorial.txt b/docs/source/interactive/tutorial.txt index 1f5ccda..aa84043 100644 --- a/docs/source/interactive/tutorial.txt +++ b/docs/source/interactive/tutorial.txt @@ -120,6 +120,17 @@ IPython or in a text editor. You can also save all your history by turning on logging via %logstart; these logs can later be either reloaded as IPython sessions or used as code for your programs. +In particular, note taht the %rep magic function can repeat a command or get a +command to the input line for further editing:: + + $ l = ["hei", "vaan"] + $ "".join(l) + ==> heivaan + $ %rep + $ heivaan_ <== cursor blinking + +For more details, type ``%rep?`` as usual. + Define your own system aliases ------------------------------