In vi editor, the percent character (%) is used to find matching pairs of parentheses, braces, and brackets. When the cursor is on one of these characters, pressing % will move the cursor to its matching counterpart. This helps verify balanced brackets and parentheses in code.