A Vim branch has been created with an updated vim.py and
mod_tempfname.py files in the plugin directory.  Currently, the code
checks that Leo is running in a Windows environment.  I encourage
others to update mod_tempfname.py to support the conversion of node
headline text to directory and path names for other operating systems.

Add the following to your _vimrc or _gvimrc file to display the gVim
tab labels as the filename and extension and their tooltips displaying
the tab's number and the temporary directory structure (same as the
node's ancestors):

"Tab's text is filename(%M) and extension(%t)
set guitablabel=%M%t
"Tooltip displays <tab number> - <directory path>
set guitabtooltip=%N\ \-\ %F

Add the following to your _vimrc or _gvimrc file to hide the sentinal
lines in derived files (fold consecutive sentinal lines into a single
dashed line):

"Specify expression based folds
:set foldmethod=expr
"Specify expression (2nd char a @)
:set foldexpr=getline(v:lnum)[1]==\"@\"
"Specify that any number of consecutive line is folded
set foldminlines=1
"Show only dashes when folded
set foldtext=v:folddashes

Any questions?
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