On Tue, Feb 2, 2016 at 5:39 AM, Rick Dooling <rpdool...@gmail.com> wrote:
> On Wednesday, January 27, 2016 at 11:49:39 AM UTC-6, Chris Lott wrote: > > I'd like to take a paragraph like the following: > > > > This is a paragraph. Wow! What do I do now? > > > > And break it into individual lines, ala: > > > > This is a paragraph. > > Wow! > > What do I do now? > > > > StackExchange revealed this regex that seems to work well matching the > proper lines: > > [.!?][])"']*\($\|[ ]\) > > > > So I can do this: > > :%s/[.!?][])"']*\($\|[ ]\)/XXX\r\r/g > > > > But obviously need something where XXX is! > > > > c > > You might find the following collection of filters useful. Written in Ruby. > > https://github.com/olivertaylor/text-utilities > > > This plugin does something similar to OP's request (toggling between sentences and bullet lists), and may be a good starting point. Basically, it "explodes" a text list into a bulleted list with line breaks. https://github.com/thoughtstream/Damian-Conway-s-Vim-Setup/blob/master/plugin/listtrans.vim There's an introduction here: https://youtu.be/aHm36-na4-4?t=17m20s -- -Collision @cfcollision <https://twitter.com/cfCollision> | http://idontevenownatelevision.com/ <http://noheadlineaudiozine.com/> | http://tinyletter.com/collision | 503.997.1907 -- -- 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 vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.