This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:ed [2011/04/30 15:04] clemens created |
tutorials:ed [2012/05/01 19:43] (current) memnon Add $ID tag |
||
---|---|---|---|
Line 27: | Line 27: | ||
===== Edit commands ===== | ===== Edit commands ===== | ||
- | | "d" | Delete. | "s///re/////s///[g|//n//][p]" | Substitute. | | + | | "d" | Delete. | %%"s/re/s/[g|n][p]"%% | Substitute. | |
| "m[//line//]" | Move after //line//. | "t[//line//]" | Copy after //line//. | | | "m[//line//]" | Move after //line//. | "t[//line//]" | Copy after //line//. | | ||
| "(.,+)j" | Join lines. | "u" | Undo. | | | "(.,+)j" | Join lines. | "u" | Undo. | | ||
Line 51: | Line 51: | ||
| "!//shell-command//" | Execute //shell-command//. | "q" | Quit. | "Q" | Quit, discarding changes. | | | "!//shell-command//" | Execute //shell-command//. | "q" | Quit. | "Q" | Quit, discarding changes. | | ||
+ | $Id: ed.html,v 1.5 2007/10/09 00:27:11 papa Exp $ |