voom_extras


Ⅰ. 插件描述

Supplementary materials for VOoM

Ⅱ. 基本信息

创建日期:  2013-10-22
使用用户:  3
Github星:  12
插件作者:  Vlad Irnov

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'vim-voom/voom-extras'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'vim-voom/voom-extras'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'vim-voom/voom-extras'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-voom/voom_extras

Ⅳ. 文档说明

This repository contains supplementary materials for VOoM:
a test suite, sample outlines, sample add-ons.

VOoM is a plugin for text editor Vim that turns Vim into a full-featured
two-pane outliner: http://www.vim.org/scripts/script.php?script_id=2657

test_suite

VOoM test suite. It requires test outlines in folder test_outlines.
This is a very crude script:

Do not it install it as Vim plugin!
Always run it in a separate, disposable instance of Vim!

Running the test suit is a good way to ensure that VOoM works with your
particular versions of Vim and Python and there are no conflicts with your
custom Vim settings and other Vim plugins.

How to run:

  • Download and extract this repository somewhere, for example in
    ~/Downloads/VOoM_extras/ .
  • Launch new instance of vim or gvim. Encoding should be utf-8.
  • Run these commands:
    :so ~/Downloads/VOoM_extras/test_suite/voom_test_suite.vim
    :VoomTestTestAllModes
  • There are will be some warnings and error messages from VOoM.
    There should be no Vim or Python errors.

When finished, the last lines in the PyLog buffer should be:

comparing Python output to TestAllModes_python.ok.txt ...
OK
comparing Vim output to TestAllModes_vim.ok.txt ...
OK
  • If you use both Python 2 and 3, repeat this with another Python version by
    setting g:voom_python_versions to [2] or [3]. This can be done by doing

    :let g:voom_python_versions=[3]

    in .vimrc or immediately after starting Vim (assuming that nothing in

.vimrc or plugins calls VOoM functions during Vim startup).

test_outlines

This folder contains small dummy outlines for testing and illustrative
purposes.

Files test_outline.* and some other are used by the test suite.
Files such as asciidoc.asciidoc are for manual testing of various
markup-specific gotchas and idiosyncrasies.

The main file is test_outline.txt. It has start fold markers with levels.
Files test_outline.* in other markups formats are created from
test_outline.txt by running Python 3 script test_outline.txt_CONVERT.PY.

big_outlines

Big outline files for stress-testing purposes.

addons

Sample add-ons for VOoM that show how to extend and modify VOoM functionality.

markup_modes

New or modified markup modes not included in the current VOoM distribution.

misc

Miscellaneous stuff.

License: CC0, see http://creativecommons.org/publicdomain/zero/1.0/

添加新评论