I want to execute the format command, gq, on multiple blocks of text
that I select. The best way would be if I could execute gq in ex mode,
that is:

:g/pattern1/,/pattern2/gq <ENTER>

But gq doesnt work in ex mode. I cant use an external program like
fmt, because vim, in windows, would launch a separate instance of the
cmd shell for each block - which I tried. I'd be waiting a while for
say 55 instances of the command shell!

Any suggestions?

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

Reply via email to