(Dr.R.K.) Various Patche Files - Elvis < > Matching

Go to Top Go to Bottom blank blank Go up one level R.K.'s Home Page Keyword Index Site Map Help Linux
Elvis is a vi clone. This patch adds the angle brackets (<,>) to the matching mix. That is is if you do a `%' on a "(){}[]" in cursor mode then the cursor jumps to the matching bracket. Adding angle brackets is useful for ensuring matching angle brackets in C++ templates and for HTML tags. However, this can be annoying too, since angle brackets are also used for relational & shift operations. Therefore, it's a good idea to turn off automatic matching by placing
 
	:set noshowmatch
 
in your $HOME/.exrc file. BTW this patch is freely available and distributable.

Brought to you by: R.K. Owen,Ph.D.
This page is http://rkowen.owentrek.com/sources/patches/elvis.patch.html