Kurt Keller's Blog

tech notes and more

move a paragraph at a time

When editing certain files, I want to move to the next paragraph quickly, or I want to delete the remainder of the current paragraph in one go. Luckily there is a move command for this: { and }. A new paragraph, by the way, begins after an empty line.

{ move to the start of the current paragraph
} move to the end of the current paragraph
d{ delete from the start of the current paragraph to the character before the current position
d} delete from the current position to the end of the current paragraph
Share

Leave a Reply