Many editors provide the ability to fold lines; in effect, hiding
lines when editing the file.  I have set up my Vim editor to fold
sentinels into a single line that is displayed as a series of
hyphens.  Here are the commands to configure this in the _vimrc file:

"FOLDS - Setup folds to hide Leo's sentinels
"Specify expression based folds
set foldmethod=expr
"Specify expression to use to denote a sentinel line (2nd char in line
a '@')
set foldexpr=getline(v:lnum)[1]==\"@\"
"Specify that all consecutive sentinels are folded into single line
set foldminlines=1
"Show a row of hyphens when folded
set foldtext=v:folddashes

Regards,
TL

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to