The substitute() function already can take the 'g' flag which causes the 
substitution to be global. There's no way to force the search to be case 
(in)sensitive, though. This means that plugins must either save & restore 
ignorecase before using substitute() or be OK with the case sensitivity of 
their substitutions changing at the user's whim.

Is there a good reason why substitute() doesn't already take the i/I flags?

-- 
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

Raspunde prin e-mail lui