Consider the following common scenarios:
You need to select to the next matching parenthesis.
You could do:
v%
if the cursor is on the starting/ending parenthesisvib
if the cursor is inside the parenthesis block

You want to select text between quotes:
- vi" for double quotes
- vi' for single quotes

You want to select a curly brace block (very common on C-style languages):
viB
vi{

Caso esteja no mei de parênteses chaves ou colchetes basta pressionar % que ele pula automaticamente para o começo e em seguida fica alternando entre começo e vim.
Nenhum comentário:
Postar um comentário
Insira seu comentário - O mesmo será submetido à aprovação!