RST Tables (CJK)


Ⅰ. 插件描述

Allows to create and edit restructuredText tables easily (CJK)

Ⅱ. 基本信息

创建日期:  2011-10-19
使用用户:  1
Github星:  4
插件作者:  Vern Sun

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/RST-Tables-CJK

Ⅳ. 文档说明

Original plugin: vimscript #3041

two new commands:

    ,,c  ->  Creates a new restructuredText table.
    ,,f  ->  Fix table columns in a table.

For example, if you have a paragraph with data like this:

http://du1abadd.org/images/2011/origin.png

you can press ",,c" to create a simple table:

http://du1abadd.org/images/2011/create.png

Now, if you change the table content, for example adding characters
to the first content row.

http://du1abadd.org/images/2011/change.png

you need to fix the columns widths. So, press ",,f" and you will gets:

http://du1abadd.org/images/2011/result.png

添加新评论