Robert Mark Bram (2008-12-11 06:08 -0800) wrote:

> :r ! find . -name *.css
>
> Is there any way to combine the two? I.e. use the output of a find
> command in a :tabnew? This would make it so easy to find and open
> files at the same time. :)

Perhaps this idea can be modified to match your needs:

    http://vim.wikia.com/wiki/Display_shell_commands%27_output_on_Vim_window

In the function change the "botright new" line to "tabnew" and create
new Vim commands like this:

    command! -nargs=+ Find call s:RunShellCommand('find '.<q-args>)

Then just ":Find -what -ever -arguments" will do.

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

Reply via email to