" Vimball Archiver by Charles E. Campbell, Ph.D. UseVimball finish plugin/HiMtchBrkt.vim [[[1 518 " HiMtchBrkt : highlights matching brackets and, optionally, containing brackets " Author: Charles E. Campbell " Date: Feb 22, 2011 - Jan 07, 2020 " Version: 23 " " A Vim v6.0/7.0 plugin with menus for gvim " " Usage: {{{1 " \[i : initialize highlighting of matching bracket " \[s : stop highlighting of matching bracket " " Actually, is used, so you may set mapleader to change " the leading backslash to whatever you want in your <.vimrc> " See :help mapleader. " " GetLatestVimScripts: 1435 1 :AutoInstall: HiMtchBrkt.vim " GetLatestVimScripts: 1066 1 cecutil.vim " --------------------------------------------------------------------- " Load Once: {{{1 if &cp || exists("g:loaded_HiMtchBrkt") finish endif let g:loaded_HiMtchBrkt = "v23" let s:keepcpo = &cpo set cpo&vim if exists("g:hicurline_ut") && !exists("g:HiMtchBrkt_ut") let g:HiMtchBrkt_ut= g:hicurline_ut endif if v:version >= 700 && exists("##CursorMoved") let g:loaded_matchparen= 1 endif " --------------------------------------------------------------------- " Public Interface: {{{1 if !hasmapto('HMBStart') map [i HMBStart endif if !hasmapto('HMBStop') map [s HMBStop endif com! -bang HMBstart :set lz|call s:HMBStart(0)|set nolz com! -bang HMBstop :set lz|call s:HMBStop(0)|set nolz com! -bang HMBsurround :set lz|call s:HMBSurround(1)|set nolz com! -bang HiMtchBrkt call s:HiMtchBrktToggle(1) " --------------------------------------------------------------------- " Global Maps: {{{1 nmap