Saturday, June 30, 2012

How to just load a vim file and run the command and print the output to stdout and exit?

Hi,

I just want to run some vim script and print output to stdout and
exit. The following will print something at the bottom of the screen
without exiting vim. Is there a way to do want I want? Thanks!

vim -c "source main.vim"

Regards,
Peng

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment