On Wednesday, September 27, 2017 at 8:02:28 AM UTC-5, Igor Forca wrote:
> Hi,
> 1. create text file with the following three lines:
> aa
> ab
> ac
>
> 2. turn on search highlight with:
> :set hls
>
> 3. now jump to third row:
> :3
>
> 4. visually select whole line:
> V
>
> 5. Now do the substit
Hi,
1. create text file with the following three lines:
aa
ab
ac
2. turn on search highlight with:
:set hls
3. now jump to third row:
:3
4. visually select whole line:
V
5. Now do the substitute with "c" flag (confirm):
:s/a/x/gc
Now highlight search marks letter a in whole file, despite only