Vim quicktip #1: Use %
to jump between brackets. This works for ()
, {}
, and []
by default, but can be changed using :set matchpairs
.
Plugins like vim-elixir and vim-ruby add b:match_words
like do
, end
and else
, to quickly jump to a block’s end
, for example.