From 0b7cd86cb309aa9de053f6a41a45a1852b41dd58 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Oct 2014 12:26:43 +1300 Subject: Match angle brackets in Vim with % --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index e07b385a..a57fecd2 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -192,6 +192,9 @@ nnoremap l :setlocal list! " is one; extends % to match more than it does by default silent! runtime macros/matchit.vim +" Match all forms of brackets in pairs (including angle brackets) +set matchpairs=(:),{:},[:],<:> + " Don't show the Vim startup message, I have registered Vim and donated to " Uganda set shortmess+=I -- cgit v1.2.3