Marco <[email protected]> a écrit: > On 2013–04–12 Ben Fritz wrote: > > > It's not configurable. > > > > { and } strictly use paragraph boundaries, defined as empty lines > > or lines using nroff macros specified in the 'paragraphs' option. > > > > ip uses these but also has an exception for lines containing > > nothing but whitespace. > > > > See :help paragraph and :help ip > > I did read those sections. The 'paragraphs' option with the default > setting "IPLPPPQPP TPHPLIPpLpItpplpipbp" is one of the weirdest vim > options I encountered in a while. Why is it restricted to nroff > macros? It could better take a regex or anything more general than > nroff macros. > > > This behavior annoys me too but it is what it is. > > Good to hear that it's not just me. If there is interest, maybe a > second variable, e.g. 'paragraphsregex' could be implemented and set > to an arbitrary regex as paragraph delimiter. If it's undefined, the > old behaviour takes precedence to remain backwards compatible.
That behavior annoys a lot of people; it's even #46 in the wish list: http://www.vim.org/sponsor/vote_results.php Best, Paul -- -- 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/groups/opt_out.
