[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inserting text of arbitrary length before rectangular region
From: |
Gerard Lally |
Subject: |
Re: Inserting text of arbitrary length before rectangular region |
Date: |
Fri, 6 Mar 2020 11:56:15 +0000 |
On Thu, 5 Mar 2020 at 21:02, Marc Simpson <address@hidden> wrote:
>
> I'd go the traditional vi route,
>
> :.,/Tom/s/^/Name of applicant:
>
> Or if the range wasn't so straightforwardly expressible, you could
> mark the first and last lines first (e.g. ma, mb), then
>
> :'a,'b/^/Name of applicant:
Excellent, Marc. Works perfectly. Thank you!
Re: Inserting text of arbitrary length before rectangular region, Gerard Lally, 2020/03/06