Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I asked a question in the (La)TeX stack exchange and it was recommended to me that I see whether I could get an answer here. The question can be found here.

The basic question is this: can I tell Vim to interpret the 'paragraph' text object differently? Now paragraphs are defines as blocks of text separated by a blank line, but I want to change this to blocks of text separated by a line that contains a percentage symbol (%), which is th comment symbol in LateX, i.e. that Vim understand that:

This is a paragraph
%
This is another paragraph
share|improve this question

1 Answer 1

No. See

:help paragraph

and

:help todo

and search for paragraph, where you'll find a number of entries including this:

- Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine the two into a regex for searching. (Ned Konz)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.