Can I redirect output of a program to gvim?

Can I redirect output of a program to gvim?

I want to redirect the output of some Windows program directly to gvim basically for searching the output. Say for example the result of findstr cmd. Is it possible to do this without dumping it to a file and subsequently loading that file in gvim?

Vim Ctrl-Left/Ctrl-Right keys behaviour


Highlighting #defined value in VIM
how can I make vim send command to gnu screen session
dir | gvim - 
the - option tells vim to open stdin.
Vim textwidth comma indent problem
This works for Windows and Linux versions..
vim and unrecognized characters

emacs equivalent of vim's shift-h and shift-l

How can I execute a command when a buffer is closed in vim?


The behavior of ; to repeat the last t command bothers me. Can you help me make it better?
If you're already in Vim you can use the r command to read like this:.
:r !<cmd> 
:r !dir 


You can read it from vim with.
:r !dir (for example) 


AFAIK, there is no gvim on Mac OS.. If you are using MacVim on mac, this is what I do:.
dir | /Applications/ - 
When Vim starts in the terminal, then type.
That should start the MacVim (gui version of vim).

94 out of 100 based on 74 user ratings 574 reviews