DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 963,673 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Fernando Tricas Garcรญa
Fernando Tricas Garcรญa

Posted on

So, you want to call a program from vim?

Sometimes I'm editing a file and I need some part of the results of executing some program:

 [myMachine] > ~/somePath/someProgram someArgument | tee /somePlace
Enter fullscreen mode Exit fullscreen mode

In How do I run a C program from VIM? they tell us:

:!~/somePath/someProgram someArgument | tee /somePlace
Enter fullscreen mode Exit fullscreen mode

And it works.

Top comments (0)

๐ŸŒš Friends don't let friends browse without dark mode.

Sorry, it's true.