mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
24 lines
249 B
Plaintext
24 lines
249 B
Plaintext
Given vim (Nesting):
|
|
|
|
if x
|
|
if y
|
|
if z
|
|
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
Before (Cursor):
|
|
normal! 5gg
|
|
|
|
Do (Move [%):
|
|
[%
|
|
Then (Verify line):
|
|
Assert line('.') == 4
|
|
|
|
Do (Move [% twice):
|
|
[%[%
|
|
Then (Verify line):
|
|
Assert line('.') == 3
|
|
|