]>
Commit | Line | Data |
---|---|---|
0ec57072 | 1 | Ged - G Text editor 31/8/2005 |
2 | p Print lines, n to print lines with line numbers | |
3 | To return to command mode use . | |
4 | Ged is an adaptation of the unix standard editor ed. | |
5 | While Ged lacks the regular expression capabilities of ed it implements most of ed commands. | |
6 | commands have the form <command>, <start><command>, <start>,<stop>command or <start>,<stop><command><target> where limits are line numbers starting from one. | |
7 | a Append text | |
8 | i Insert text | |
9 | h Show last error | |
10 | d Delete lines | |
11 | j Join lines | |
12 | wq Save and quit | |
13 | x Paste deleted lines | |
14 | m Move lines | |
15 | f Show filename | |
16 | c Replace |