On 16 August 2014 12:39, John Little <[email protected]> wrote:
> n 11 August 2014 11:17, Jonathan del Strother <[email protected]> wrote:
>>... with gdefault enabled, trying to use the
>> GUI to replace-all will only replace the first instance of the word on
>> each line.
>
> Yes, /g acts as a toggle.  Leave it off if gdefault is set, if you want all 
> instances replaced.
>

I'm curious which vim GUIs deal with this in a sane way.  MacVim
supplies this standard Find & Replace window -
https://www.dropbox.com/s/6lxhu4bf1wu8ifo/Screenshot%202014-08-16%2014.10.33.png
- I doubt that anyone clicking "Replace All" expects it to only
replace the first occurrence on each line when gdefault is set.  And
with gdefault set, there's no way to replace all occurrences of a word
via that UI (other than by repeatedly clicking "Replace All", which
might have unintended consequences depending on what you're replacing
with what).

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui