aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2014-07-02 21:08:43 -0400
committerTeddy Wing2014-07-02 21:08:43 -0400
commit8e91fd7199961cad3918446ab05d0d11ef461dcd (patch)
treec9e0c536563cb56d00627d669e9d11ed9a118aef /vimrc
parent9a48292c5dffb741115b0241c18962bae817e2c7 (diff)
downloaddotvim-8e91fd7199961cad3918446ab05d0d11ef461dcd.tar.bz2
vimrc: source the built-in matchit plugin
Allows for extended % matching, between things like < & >, HTML opening and closing tags, and general regex for various languages.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 319eae6..84252be 100644
--- a/vimrc
+++ b/vimrc
@@ -239,6 +239,11 @@
" no longer necessary. All the languages I was targeting are have
" built-in support with tcomment.
"
+" 2014.07.02:
+" * Add the matchit plugin. Had a long HTML file and wanted to be able
+" to go back & forth between an opening tag and closing tag that
+" extended beyond the page. No more straining to follow a tab stop.
+"
" Pathogen
@@ -420,6 +425,10 @@ endif
nnoremap <leader>gu :GundoToggle<cr>
+" Source matchit for expanded % matching
+runtime! macros/matchit.vim
+
+
" Mappings
" ========