Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

No. See

:help paragraph


: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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .