THE README FILE FOR VIMOUTLINER License VimOutliner Copyright (C) 2001, 2003 by Steve Litt Licensed under the GNU General Public License (GPL) Absolutely no warrantee, see COPYING file for details The GNU GPL license. If your distro doesn't come with this file HTML: http://www.gnu.org/copyleft/gpl.html Text: http://www.gnu.org/copyleft/gpl.txt Version Version 0.2.0 Extensively updated by Noel Henson First major revision of VimOutliner Released 12/03/2002 Added Features: install.pl installer script makelink.pl script to create syntax symlink Intuitive, outline processor like expand and collapse Extensive comma comma commands for quick outlining Level based color coding Date insertion Hooks for spellchecker What is VimOutliner? A set of scripts and configs to make Vim perform as an outliner Requires one symbolic link from $HOME/.vim/syntax Other than that, makes no changes to your Vim distribution Does not require recompilation or modification of your Vim distro Requires Vim6 or better VimOutliner is licensed under the GPL See COPYING file VimOutliner's home page is http://www.troubleshooters.com/projects/vimoutliner/index.htm Distribution manifest (what files are there) Directories otlbin/ Contains the scripts. Can be named anything This file path must be recorded in vimoutliner.conf All files in Files section relative to this directory otlbin/outlinerconf/ Contains per-user config info Contains sample master outline Must be copied to $HOME/.vimoutliner for each user otlbin/outlinerconf/todo/ Contains sample todo list Files README This file COPYING The GNU GPL license. If your distro doesn't come with this file HTML: http://www.gnu.org/copyleft/gpl.html Text: http://www.gnu.org/copyleft/gpl.txt INSTALLING.txt A copy of the installation procedures in the README file. CHANGES A change history for VimOutliner vimoutliner.conf Defines locations of Vim and VimOutliner Must be copied to $HOME/.vimoutliner Configure it in that new location ???? ol Script launcher Must be copied to directory on path Or else a symlink must be made to it from a directory on the path ol.sh Second half of script launcher outlinerconf/outliner.vim Vim script to configure Vim as an outliner Functions for intelligent expand collapse Functions for color coding Several comma comma commands otltags.pl Perl script to build tags file Enabling hyperlink like linking of outlines outlinerconf/otltags.tag May not come with your distribution Output of otltags.pl Contains the tags Completely rewritten with every otltags.pl run otl2html.pl Perl script to convert outline to html file otl2html.vim Vim script companion to otlhtml.pl outlinerconf/master.otl A small sample outline with link to todo/todo.otl outlinerconf/todo/todo.otl A small sample todo list with link to master.otl makelink.pl A perl script to create symlink $HOME/.vim/syntax/outliner.vim->$HOME/.vimoutliner/outliner.vim This symlink is necessary for color coding and other syntax related activities install.pl An installation script for VimOutliner Downloading VimOutliner Download from VimOutliner website http://www.troubleshooters.com/projects/vimoutliner/index.htm The .tar.gz file extracts into a directory called otlbin Below the current directory This directory is the permanent home of VimOutliner executables We suggest either: /usr/local/otlbin /usr/local/vimoutliner/otlbin /data/otl/otlbin /home/otl/otlbin Installing/Configuring VimOutliner The Installing/Configuring info in README and INSTALLING.txt are identical! Summary of configuration methods Linux distribution specific VimOutliner packages The install.pl script Manual configuration Via package managers The following are planned but not yet implemented: Package for Debian RPM for Red Hat RPM for Mandrake Package installation is anticipated to be the easiest method But it will require root access Via the install.pl script Do NOT change to user root!!! Log in as the user for whom you're installing VimOutliner Make sure your otlbin directory is where you want it. cd to the otlbin directory ./install.pl Answer Y to the first question if you're satisfied with what the script will be doing. Answer Y to the second question if the listed user is the one for whom you want to install VO Answer Y to the third question if you agree that the listed location of otlbin is the permanent location of the VimOutliner executables The now script performs the following tasks: Copy otlbin/outlinerconf directory to $HOME/.vimoutliner Symlink $HOME/.vim/outliner.vim to $HOME/.vimoutliner/outliner.vim Configure $HOME/.vimoutliner/vimoutliner.conf Specifically, sets the $OUTLINERBIN variable Finally, copy otlbin/ol to a place on the user's path. Manual Configuration When to perform manual configuration If you don't trust the configuration script If you want to use a special vim command for VimOutliner If the install.pl script doesn't address all your needs Roadmap of manual config steps Modify outlinerconf/vimoutliner.conf Copy outlinerconf subdirectory to $HOME/.vimoutliner Copy the ol script to a place on the path Modify $HOME/.vimoutliner/outliner.vim as desired This step probably is unnecessary and undesirable Modify outlinerconf/vimoutliner.conf PATHTOVIM= Set this to the Vim executable used as outliner If same Vim as used system wide, vim or gvim will suffice If different Vim Full path ie PATHTOVIM=/home/me/vim60ac/src/vim OUTLINERBIN= Set this to directory containing VimOutliner scripts As installed, it will end in otlbin e.g. if VimOutliner installed in /home/me/otlbin OUTLINERBIN=/home/me/otlbin Comments Any line whose first non-space is a hash mark (#) Only whole lines can be commented. Copy outlinerconf subdirectory to $HOME/.vimoutliner cp -p -R outlinerconf $HOME/.vimoutliner Copy ol to a place on the path Typically /usr/bin or /usr/local/bin Or else create a symlink to it from a dir on the path Modify $HOME/.vimoutliner/outliner.vim as desired WARNING! As of version VimOutliner 0.2.0 Modifying this file is probably unneccessary and undesirable. Version 0.2.0's outliner.vim is much more complex. You may wish to change the color coding. Vim language experts can change to their desires ALWAYS BACK UP outliner.vim BEFORE CHANGING!!! Testing VimOutliner Testing the ol command cd $HOME/.vimoutliner Type the command "ol master.otl" (don't type the quotes) Does VimOutliner (in other words, Vim) run? Yes You're done -- the ol command works. No Precede ol with the path to otlbin. In other words, of otlbin is at /usr/local/otlbin, /usr/local/otlbin/ol master.otl Does VimOutliner (Vim) run? Yes copy the ol script from otlbin to a place on the path No Does Vim run as the vim and gvim commands? No Properly install vim and gvim Yes Check the setting of the vimoutliner.conf PATHTOVIM command Run that vim command manually Does it run? No Fix the PATHTOVIM command in vimoutliner.conf Yes Continue troubleshooting Testing the outliner itself cd $HOME/.vimoutliner Type the command "ol master.otl" (don't type the quotes) Should pull up the file in Vim Typing zM in command mode should collapse all headlines Typing zR should expand the headlines Typing ,,1 in command mode should collapse all but top level headlines Typing ,,2 should collapse all but 1st & 2nd level Testing hyperlinking/tagging cd $HOME/.vimoutliner Type command "ol -c otltags.pl master.otl" (don't type the quotes) Use the ol command to edit master.otl Navigate to _tag_todo Press Ctrl+] It should bring up todo/todo.otl Navigate to _tag_master Press Ctrl+] It should bring up master.otl Troubleshoot as necessary Testing single file otl to html conversion Type command "ol -c otl2html.pl master.otl" It should bring up a file called temp.html in Vim The file is an html file Indents are represented as
,