Assume I am in a Gvim session and I hit an F-key which in turn
executes an external program. The external program directs text
to sysout. Can I make this appear in the Gvim text? Or do I need
to direct it to a temp file and have a
:read
function in the script?
Linux system and probably Tcl/Tk as
On Wed, Apr 12, 2006 at 09:42:54AM -0400, John R. Culleton wrote:
> Assume I am in a Gvim session and I hit an F-key which in turn
> executes an external program. The external program directs text
> to sysout. Can I make this appear in the Gvim text? Or do I need
> to direct it to a temp file and h
John R. Culleton Sent April 12, 2006 6:43 AM
> Assume I am in a Gvim session and I hit an F-key which in turn
> executes an external program. The external program directs text
> to sysout. Can I make this appear in the Gvim text? Or do I need
> to direct it to a temp file and have a
also you can use:
. !
on any empty line
(if you don't like 'read')
HTM
zbikow
Dnia 12-04-2006 o godz. 16:12 Dr. Johannes Zellner napisał(a):
> On Wed, Apr 12, 2006 at 09:42:54AM -0400, John R. Culleton wrote:
> > Assume I am in a Gvim session and I hit an F-key which in turn
> > executes an exter
Dnia środa, 12 kwietnia 2006 15:42, John R. Culleton napisał:
> Assume I am in a Gvim session and I hit an F-key which in turn
> executes an external program. The external program directs text
> to sysout. Can I make this appear in the Gvim text? Or do I need
> to direct it to a temp file and have
Redir doesn't work for commands that don't post their output in the Vim
window (such as system commands). If it is your intention to post the
output of a system command into your buffer, you can instead do:
:r!ls
If it is simply to SEE the output, then system() is sufficient -- I'm
fairly certai
Dnia środa, 12 kwietnia 2006 19:45, Halim, Salman napisał:
> Redir doesn't work for commands that don't post their output in the Vim
> window (such as system commands). If it is your intention to post the
For me "ls" worked.
>
> output of a system command into your buffer, you can instead do:
> :