set smturns on the blinking of matching parens as you type the close parenthesis.
%when the cursor is on a parenthesis will move the cursor to the matching parenthesis.
:set. The modes you are interested in are:
set aiturns on auto-indentation. This means that each line you type will match the previous line's indentation.
set lispturns on lisp mode. This means the indenting is done as required by Lisp.
setenv EXINIT 'map # Ji^M^[|set wm=6 para=lpppipnpbp sect=shuh showmatch ai'
or by defining in your .cshrc file an alias command for vi (in the example
shown here is
li ) that includes
all the modes you want when using lisp:
alias li "vi '+set ic lisp ai wm=0 |map # Ji^M^[ |1' \!*"
You can also set the modes after you are in vi by typing
:set ai lisp
The views and opinions expressed in this page are strictly those of the page author.
The contents of this page have not been reviewed or approved by the University of Minnesota.