Tuesday, January 24, 2012

Re: Simple substitution question

On Tue, Jan 24, 2012 at 14:02, Guido Van Hoecke <guivho@gmail.com> wrote:
> Example text lines to be selected for my question:
> o.......Open files, directories and bookmarks....................
> go......Open selected file, but leave cursor in the NERDTree.....
>
> But why does
> :'<,'>s/\./ /g
> only change the first set of '.' of every line and not the trailing '.'?

Well, it must be due to some of my initialization files. Starting
vim -u NONE
does behave as expected and thus also replaces the training dots.
I should have tried that before bothering the list.

Sorry for the noise.

With kind regards,


Guido

--
ASCII a stupid question, you get an EBCDIC answer.

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: