Hello,

On 10/2/06, Yongwei Wu <[EMAIL PROTECTED]> wrote:

* Is there a way to tell a user-defined command to have file name completion?


Yes. You can use the "-complete=file" option when defining the
command. For example,

  command -nargs=1 -complete=file EditFile edit <args>

For additional supported completions for user-defined commands,
refer to

   :help :command-completion


* Any better way to integrate a C++ program with Vim than
:system('command')? (There is a minimized command window, and the
delay is noticeable.)


Vim doesn't support running external commands in the background
and then get the output from the command.

- Yegappan

Reply via email to