Turns out, if I preload a register with the required space padding, it
only needs one :s
:exe "'a,'bs/\\%<67c \\S\\+\\%>66c.*/\\=substitute(submatch(0),'
.\\{,30}\\>','\\r".@r."&','g')/"
On Mon, Dec 14, 2015 at 9:46 PM, <[email protected]> wrote:
> [email protected]
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/topics>
> Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Today's topic summary
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/topics>
>
> - Why is :E an ambiguous command after upgrading to patches through
> 965? <#151a42d5af0ad03e_group_thread_0> - 2 Updates
> - Netrw: pressing `-` jumps to a different window
> <#151a42d5af0ad03e_group_thread_1> - 1 Update
> - Reformat tabular test data ending with a lengthy description onto
> multiple tabulated lines <#151a42d5af0ad03e_group_thread_2> - 1 Update
>
> Why is :E an ambiguous command after upgrading to patches through 965?
> <http://groups.google.com/group/vim_use/t/9f6bddd17d811cb0?utm_source=digest&utm_medium=email>
> Charles Campbell <[email protected]>: Dec 14 04:44PM -0500
>
> Tony Mechelynck wrote:
> > that after-directories are "rarely needed"), let's say (on Linux)
> > ~/.vim/after/plugin/logipat.vim or (on Windows, but in Vim notation)
> ...more
> <http://groups.google.com/group/vim_use/msg/33daaa1247569?utm_source=digest&utm_medium=email>
> Nikolay Aleksandrovich Pavlov <[email protected]>: Dec 15 02:45AM +0300
>
>
> > will find such a line (assuming it exists, of course).
>
> > Regards,
> > Chip Campbell
>
> I am wondering why in this thread people are discussing what to do with
> logiPat when solution is ...more
> <http://groups.google.com/group/vim_use/msg/3444b13f9772d?utm_source=digest&utm_medium=email>
> Back to top <#151a42d5af0ad03e_digest_top>
> Netrw: pressing `-` jumps to a different window
> <http://groups.google.com/group/vim_use/t/dc438f9e6897705?utm_source=digest&utm_medium=email>
> Charles Campbell <[email protected]>: Dec 14 04:31PM -0500
>
> Nicola wrote:
>
> > Sometimes the cursor jumps even without pressing `-`.
>
> > This seems to happen when I open netrw in different splits at different
> > times, as in the steps above. ...more
> <http://groups.google.com/group/vim_use/msg/33cfc1ed80cbb?utm_source=digest&utm_medium=email>
> Back to top <#151a42d5af0ad03e_digest_top>
> Reformat tabular test data ending with a lengthy description onto multiple
> tabulated lines
> <http://groups.google.com/group/vim_use/t/ad6eb0299cb3a384?utm_source=digest&utm_medium=email>
> Graham Lawrence <[email protected]>: Dec 14 12:28PM -0800
>
> Here is my test data
> Example 1 Of medium length Enough words in description
> to need one reformat
> Example 2 Very short one Needs no reformat
> Example 3 Extremely long one ...more
> <http://groups.google.com/group/vim_use/msg/3398013d80f2d?utm_source=digest&utm_medium=email>
> Back to top <#151a42d5af0ad03e_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to [email protected].
>
--
Graham Lawrence
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.