Konstantin Lvov
Konstantin Lvov

Reputation: 33

How to redirect output of external utility to the bottom area of gVim on Windows?

Is it possible to redirect output of external utility to the bottom area of gVim, so it should be displayed just like output of gVim built-in commands, like :ls or :registers ? There are plenty of tips how to read output of external tool into current buffer, or new tab, but I couldn't find the way to redirect it to the bottom area. I use GUI version of Vim 7.3 on Windows (gVim). Any advices?

Upvotes: 3

Views: 170

Answers (1)

Tom Whittock
Tom Whittock

Reputation: 4220

:echo system('dir')

Should get you what you describe.

Upvotes: 2

Related Questions