TVO: The Vim Outliner with asciidoc supp


Ⅰ. 插件描述

Easy and quick documentation in asciidoc.

Ⅱ. 基本信息

创建日期:  2011-12-03
使用用户:  1
Github星:  2
插件作者:  Xuesong Lu

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/tvo-the-vim-outliner-with-asciidoc-supp'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/tvo-the-vim-outliner-with-asciidoc-supp'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/tvo-the-vim-outliner-with-asciidoc-supp'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/TVO--The-Vim-Outliner-with-asciidoc-supp

Ⅳ. 文档说明

== description
otl-asciidoc implements outliner support for asciidoc. It is based on the great "TVO: The Vim Outliner" (http://www.vim.org/scripts/script.php?script_id=517), just adds a few code lines to the original otl.vim script. If you like "TVO: The Vim Outliner" and/or are used to asciidoc, try this script.

== usage
It provides outliner capability for asciidoc, which further ease and accelerate documentation in asciidoc.
=== Keystrokes
To be compatible with TVO, type "help otl" or see README.otl in the vimoutliner-122.zip
==== Supported ones
Many commonly used keystrokes are supported, such as:
. Heading folding

=    open heading (zo)
-    close heading (zc)
Display operations
    \1    show level 1
    \2    show level 2
    \3    show level 3
    \4    show level 4
    \5    show level 5
    \a    show all

. Heading operations

\k    move cursor up one heading
\j    move cursor down one heading
\u    move heading up one
\d    move heading down one

==== Not supported ones
. Display operations

\8    show level 8
\9    show level 9
\t    toggle showing text
\C    change the current heading
\D    delete the current heading

. ...

=== screenshots
Not yet.
=== Compatibility
==== Affect to otl style
It will not affect editing and operation in .otl
==== Supported asciidoc format
. Both one line heading and two lines heading mode are supported
. Part of list styles are supported
. Page break(<<<) is highlighted
. Highlighting words(TODO, Note, Important, Warning, Caution) are supported

== Notes
The sole purpose of publishing this script is to share the happiness of writing with the advantage of outliner and asciidoc both.
This script is based on Ned Konz's TVO: The Vim Outliner. Email inquiry for permission of publishing this derived version had been sent to Ned, but there is no response yet. Let me know anything inappropriate with this.

添加新评论