Hello all, I am using Vim to edit groff (GNU Troff) code, where formatting requests are denoted by a dot at the start of a line. Although Vim has the 'paragraphs' optiion, it is only useful for selecting paragraphs and moving the around, but not for reformatting them using the 'gq' command, because all non-paragraph formatting requests like '.I' (italic font) are treated as simple text and are moved away from the beginning of the line and intermixed with the pre- ceeding and following text.
In other words, the rules for separating paragraphs should be different for reformatting text and for logical manipulation, because a paragraph may include many formatting requests which are not listed in ¶graphs and should not be affected by 'gq'. Could you suggest a way to implement this in Vim? Thanks in advance, Anton -- 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
