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?
>
> :redir works for ex commands, not for external commands (afaik)
> :r ! runs the external command but directly inserts output into the
> current buffer
>
let files = system("ls")
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---