Re: function to apply multiple whole-file substitutions
- View SourceOn 11/01/11 22:24, Sven Guckes wrote:
> * eda wizard<edawizard@...> [2011-11-02 04:17]:Just a little correction: it searches for whatever you searched
>> function Scrub ()
>> :%s// /g
>> map :call Scrub ()
>> but it's not working,
> the first substitution searches for *nothing*,
for last. (referenced in ":help g&" and more explicitly above
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