vimtricks.wiki Concise Vim tricks, one at a time.

How do I jump forward by paragraph in Vim?

Answer

}

Explanation

The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph. This is a fast way to skip through blocks of text or code.

How it works

  • } jumps forward to the next empty line (paragraph boundary)
  • In code, paragraphs are separated by blank lines
  • A count like 3} skips forward three paragraphs

Example

first paragraph
with two lines

second paragraph
with two lines

third paragraph

With the cursor on first, pressing } jumps to the blank line after with two lines. Pressing } again jumps to the next blank line.

Tips

  • { jumps backward by paragraph
  • d} deletes from the cursor to the end of the current paragraph
  • v} selects the current paragraph in visual mode
  • In code, this is useful for jumping between function definitions

Next

How do you yank a single word into a named register?