whitespace.tmbundle


Ⅰ. 插件描述

TextMate bundle for whitespace

Ⅱ. 基本信息

创建日期:  2011-12-18
使用用户:  1
Github星:  56
插件作者:  Mads Hartmann

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

TextMate bundle for whitespace

So far it has two grammars it injects into all other scopes. It adds the scopes invalid.illegal.whitespace.trailing to all trailing whitespace and invalid.illegal.whitespace.mixed to all occurrences of mixed spaces/tabs. This means you can spot all your whitespace hiccups before Git does. More information here.

Author: Mads Hartmann Jensen

Install

If you have git, you can install cloning the repository to your user library folder:

mkdir -p ~/Library/Application\ Support/Avian/Bundles
cd ~/Library/Application\ Support/Avian/Bundles
git clone https://github.com/mads379/Whitespace.tmbundle.git

If you don't have git, you can download it (using the zip button in the bar), extract the zipfile and copy the extracted folder to ~/Library/Application Support/Avian/Bundles.

添加新评论