bill lam 写道:
A Japanese gentleman had written an dll as a replacement of system().  You may
find it inside vim wikia.

/*
 * Usage:
 *   :echo libcall("mysystem", "mysystem", "cmd.exe\ndir\n")
 *   :echo libcall("mysystem", "mysystem", "wget http://foo/bar.html";)
 * Reference:
 *   http://support.microsoft.com/kb/190351/
 * Only work for Gvim.
 * XXX: no error handling
 */


The idea behind OP's topic is not only to eliminate the "flash of title bar", but also to improve the performance.

The cost of starting a new process in Windows is much higher than that of Linux. While our plugin will execute on every keystroke, so we write a dll to avoid creating a new process on each keystroke.

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

Reply via email to