JumpToTrailingWhitespace


Ⅰ. 插件描述

Motions to locate unwanted whitespace at the end of lines.

Ⅱ. 基本信息

创建日期:  2012-03-16
使用用户:  5
Github星:  1
插件作者:  Ingo Karkat

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

DESCRIPTION
This plugin provides movement commands to quickly go to whitespace at the end
of each line. (Usually in order to remove it).

SEE ALSO
This plugin leverages the superior detection and customization facilities of
the companion ShowTrailingWhitespace.vim plugin (vimscript #3966), though it
can also be used without it if you're not interested in highlighting and
customizing.

Instead of jumping and deleting each occurrence manually, you can use the
companion DeleteTrailingWhitespace.vim (vimscript #3967) plugin to strip off
the trailing whitespace with one command, or even have this done automatically
on each write.

USAGE
]$                      Go to [count] next occurrence of trailing whitespace.
[$                      Go to [count] previous occurrence of trailing
                        whitespace.

Normal, operator-pending, and visual mode mappings are defined, even though
the latter two are typically less useful that the normal mode mappings. The
'wrapscan' setting applies.

添加新评论