On Dec 12, 4:20 pm, Uday K2 <[email protected]> wrote:
>
> When I store the above command in a script file, and use
> vim -s <script> <datafile>
> command, it does not do anything. It just searches for the
> grepped pattern. That is all.
>

You can try reformatting your command for use with -S which most
people probably find more intuitive. -S is designed for ex commands,
whereas -s is more for duplicating a series of normal-mode commands.
I'm not sure whether it will solve your problem (I haven't delved into
your script in detail) but it may at least make any problems more
obvious.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to