Can I redirect output of a program to gvim? May 30, 2023 by Tarik sure: dir | gvim - the - option tells vim to open stdin This works for Windows and Linux versions.