From 8e91fd7199961cad3918446ab05d0d11ef461dcd Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 2 Jul 2014 21:08:43 -0400 Subject: 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. --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vimrc') 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 gu :GundoToggle +" Source matchit for expanded % matching +runtime! macros/matchit.vim + + " Mappings " ======== -- cgit v1.2.3