Hi,

I want to use fine tool gpicker (http://savannah.nongnu.org/projects/
gpicker), which outputs its result to stdout, i  try to grab it with
function below:

function! Gpicker()
        redir => filename
        execute "!gpicker ."
        redir END
        silent put=filename
endfunction

I call gpicker in my home directory and select file .vimrc, try to
grab output and put it into buffer, but I got


:!gpicker .
[No write since last change]

instead of ".vimrc".

Where am I wrong?

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

Reply via email to