Tuesday, January 24, 2012

Re: Simple substitution question

Hi Tim,

On Tue, Jan 24, 2012 at 14:15, Tim Chase <vim@tim.thechases.com> wrote:
> On 01/24/12 07:02, Guido Van Hoecke wrote:
>> ...
>> gi......Same as i, but leave the cursor on the NERDTree..........
>> s.......Open selected file in a new vsplit.......................
>> ...
>> But why does
>> :'<,'>s/\./ /g
>> only change the first set of '.' of every line and not the trailing '.'?
>
> Are you sure you you transcribed that correctly?

Yep, I wanted to replace every '.' with a space.

> ...
> PS: all this is assuming a default Vim without some ill-advised uses
> of 'edcompatible' or 'gdefault'. But if you haven't set either of
> these, then it shouldn't be an issue.

I have not.

I since found out that it is caused by some of my initialization
settings, and I may investigate that in due and available time.

With kind regards,


Guido

--
An authority is a person who can tell you more about something than you
really care to know.

http://vanhoecke.org ... and go2 places!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: