aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-10-05 12:26:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-10-05 12:26:43 +1300
commit0b7cd86cb309aa9de053f6a41a45a1852b41dd58 (patch)
tree8688b5b29871792434f81cca0173711b52631006 /vim/vimrc
parentUse subshell to elegantly preserve shopts (diff)
downloaddotfiles-0b7cd86cb309aa9de053f6a41a45a1852b41dd58.tar.gz
dotfiles-0b7cd86cb309aa9de053f6a41a45a1852b41dd58.zip
Match angle brackets in Vim with %
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e07b385a..a57fecd2 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -192,6 +192,9 @@ nnoremap <leader>l :setlocal list!<CR>
" 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