Re: [dev] structural regular expression support for vis

From: Joshua Haase <>
Date: Wed, 06 Apr 2016 18:45:57 -0500

Marc André Tanner <> writes:

> On Sun, Mar 13, 2016 at 11:07:49AM +0000, Raphaël Proust wrote:
>> `ggvG:sam y/\n/i/FOO` only inserts "FOO" at the start of the first
>> line. It should do it on every line.
>> Same when using `x/^.*$/` instead of `y/\n/`
> These should now also work. By the way you do not have to prefix your
> sam command with `ggvG` because in normal mode it will by default be
> applied to the whole file.

Or you could use `:,` to mean the whole file (i. e. `:,y/\n/i/FOO`).

I'd rather have the sam commands working on my current selection/position
and use one extra key to mean the whole file.
Received on Thu Apr 07 2016 - 01:45:57 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 07 2016 - 01:48:18 CEST