Tabular


Ⅰ. 插件描述

Vim script for text filtering and alignment

Ⅱ. 基本信息

创建日期:  2009-03-03
更新日期:  3年以前
使用用户:  11078
Github星:  2040
插件作者:  Josh Adams

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Tabular

Sometimes, it's useful to line up text. Naturally, it's nicer to have the
computer do this for you, since aligning things by hand quickly becomes

  1. While there are other plugins for aligning text, the ones I've
  2. are either impossibly difficult to understand and use, or too simplistic

to handle complicated tasks. This plugin aims to make the easy things easy
and the hard things possible, without providing an unnecessarily obtuse

  1. It's still a work in progress, and criticisms are welcome.

See Aligning Text with Tabular.vim
for a screencast that shows how Tabular.vim works.

See doc/Tabular.txt
for detailed documentation.

Installation

If you don't have a preferred installation method, I recommend installing
pathogen.vim, and then simply
copy and paste:

mkdir -p ~/.vim/bundle
cd ~/.vim/bundle
git clone git://github.com/godlygeek/tabular.git

Once help tags have been generated (either using Pathogen's :Helptags
command, or by pointing vim's :helptags command at the directory where you
installed Tabular), you can view the manual with :help tabular.

添加新评论