Monday, September 10, 2012

Re: How to execute script from cmdline without Vim window

> I would like to execute a Vim script from the command line, for example
> to build a vimball archive from a Makefile.

You can use the -c command line option, e.g.:
gvim -u NONE -U NONE -c "YOUR COMMANDS HERE"

With respect to vimball: There are also (at least) c-based (http://www.drchip.org/astronaut/src/index.html#MKVIMBALL) and ruby-based (https://github.com/tomtom/vimball.rb) implementations.

Regards

--
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: