2009/5/28 Gary Johnson <[email protected]>:
>
> On 2009-05-28, Gene Kwiecinski wrote:
>
>> Sorry, deleted the original email, gotta reply to something else...
>
> You couldn't just create a new thread?
>
>> What about just plain 'vim *' on the command line?  Some reason that
>> doesn't work?
>
> That works fine for simple cases where the file names match some
> pattern, but it doesn't work for cases where you want to edit the
> files that result from some complicated search pipeline such as this
> one:
>
>    find include src -name \*.[ch] -mtime -3 -print
>

Another way of doing this:

find include src -name \*.[ch] -mtime -3 -print | vim -

, and then with series of CTRL-W_f CTRL-W_q to examine files from
the resulting list. (I use this technique pretty much to visit
files, which are changed in my subversion working copy - "svn
status | vim -")

-- 
Anton

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to