If you want to change: "in ed, how" to "in fred, how", do something like this:
s/in ed/in fred/ John On Fri, Jun 17, 2011 at 8:07 AM, Fernan Bolando <[email protected]> wrote: > On Fri, Jun 17, 2011 at 11:04 PM, yy <[email protected]> wrote: >> 2011/6/17 Fernan Bolando <[email protected]>: >>> 1. insert a character in a line? - I usually retype the whole line with .c >> >> s/^/c/ > > what if I want to insert it in the middle of the line? > >> >>> 2. indent a line - i usually retype the whole line. >> >> The same, where c == \t >> >> >> -- >> - yiyus || JGL . >> > >
