Vim logo vim online Vim Book Ad

TVO: The Vim Outliner : Turn vim into a full-featured text outliner

 script karma  Rating 29/14, Downloaded by 279

created by
Ned Konz
 
script type
ftplugin
 
description
TVO (The Vim Outliner) is my solution for text outlining in Vim.

It works a lot like Word's outline support, but is much more vim-compatible.
It has syntax highlighting, embedded text blocks, shortcut mappings using both  LocalLeader and arrow keys, and works reasonably well with Vim Easy.
There is a toolbar that will be familiar to you if you've used Word's outliner.

You can extract just text, or just headings if you wish; there's also some converters (to HTML, Perl POD, and to RTF) included.

Please email me with bug reports, improvements, comments or more documentation (badly needed!).
 
install details
Installing in a local or global .vim directory

You will want to install TVO into a directory in your Vim
runtimepath (:he 'runtimepath'). Type the command

:set runtimepath

To find out what it is set to. This will display a list of
directories separated by commas. On my Linux system, these
directories are:

~/.vim
/usr/local/share/vim/vimfiles
/usr/local/share/vim/vim60
/usr/local/share/vim/vimfiles/after
~/.vim/after

I installed TVO into my ~/.vim directory.

I could have also installed it so it would be available to all the
users on my system by putting it into either the
/usr/local/share/vim/vimfiles or /usr/local/share/vim/vim60
directories.

Installing the binaries

I've included some scripts in Perl and Ruby that I use for
conversion of .otl files to HTML, RTF, and Perl POD. There is also
a pod2otl converter.
You can move these to a directory on your path (you may also have
to change the shebang (#!) lines).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vimoutliner-1.56.zip 1.56 23-Dec-2002 6.0 Ned Konz Fixed compatibility with old (numeric) settings of backspace.
vimoutliner-1.55.zip 1.55 22-Dec-2002 6.0 Ned Konz 1.47-1.55

added doc/otl.txt help file

changed otl_install_mappings to no_otl_maps (reversed logic)

changed otl_install_insert_mappings to no_otl_insert_maps (reversed logic)

limited text markers to just '|'

improved text extract

made it work with :set nomagic

removed accidental changes to mappings and settings outside of outline buffers, including 'backspace', 'smarttab', and 'J' mapping

fixed menu entries to reflect new commands

added OtlToggleBodyText() that can change back and forth from heading to text

fixed insert-mode mappings
vimoutliner-1.47.zip 1.47 19-Dec-2002 6.0 Ned Konz Initial upload

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 [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo