On Sat, Nov 7, 2009 at 9:59 PM, Kent Sibilev <[email protected]> wrote:
>
> On Sat, Nov 7, 2009 at 3:53 PM, Matteo Riva <[email protected]> wrote:
>>
>> Is it possible to run an external command and store its output in a
>> register?
> let files = system("ls")

Thanks, one more thing. How can I add the value of <cfile> as an
argument to the external command?  Say I want to "ls -l" the file under
the cursor:

  system("ls -l" <cfile>)

doesn't work, what's the correct syntax?

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

Reply via email to