Friday, May 31, 2013

Re: Best possible plugin/tool for multiple files search/replace in gVim (windows)

Thanks Folks.

Your suggestions have helped me, to understand new thing  in vim about args.

For the reference of others, this is what I am settled with now.

Find pattern recursively: vimgrep

:vim /SEARCHTEXT/ *.c *.h
:vim /SEARCHTEXT/ **/*.c

Replace in multiple files: :argdo is there but I found DirDo.vim plugin more useful. Because with single command it achievable, no need to set the args before that.

:DDF.  *.c %s/Foo/Bar/gce 



On Thu, May 30, 2013 at 8:26 PM, LCD 47 <lcd047@gmail.com> wrote:
On 30 May 2013, Asis Hallab <asis.hallab@gmail.com> wrote:
[...]
> There could be no better explanation for this than the one Drew Neil
> gives here:
> http://vimcasts.org/episodes/project-wide-find-and-replace/
>
> Take 6 and a half minutes of your time and enjoy his excellent
> screencast.
[...]

    Screencasts #41-#44 are relevant too:

        http://vimcasts.org/episodes/archive

    You might want to bookmark that page, it's one of the best resources
around for Vim.

    /lcd

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Swapnil

--
--
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
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: