sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

Emacs outline mode : Imitates Emacsen

 script karma  Rating 15/9, Downloaded by 1718    Comments, bugs, improvements  Vim wiki

created by
Tye Zdrojewski
 
script type
syntax
 
description
This is really just a foldexpr function and a few syntax lines.  If you have ever used outline-mode in Emacs, then using this will be obvious.  Just use vim's fold manipulation commands to expand and collapse sections.

For the rest, it's really just like any other type of outline mode, except that it uses asterisks at the beginning of a line to indicate the level of the section, as opposed to numerical indexes.  This is very convenient when you'd like to be able to organize information, and also be able to easily RE-organize it without changing a bunch of numbers around.  Good for keeping notes on several topics in one file.   ...or for whatever.  :)
 
install details
Place in ~/.vim/syntax/
 

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
outline.vim 2.0 2007-03-10 6.0 Tye Zdrojewski - Rewritten to use syntax-folding instead of a fold expression
- Eliminated slowness in folds containing large amounts of text.  A *vast* performance improvement!
outline.vim 1.1 2005-04-28 6.0 Tye Zdrojewski Initial upload
ip used for rating: 54.196.126.39

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo