vim-fanfingtastic


Ⅰ. 插件描述

Find a char across lines

Ⅱ. 基本信息

创建日期:  2012-08-19
使用用户:  56
Github星:  94
插件作者:  Barry Arthur

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

image:https://raw.github.com/dahu/vim-fanfingtastic/master/fanfingtastic.png[]

Find a char, across lines

TIP: If you like Fanf,ingTastic; and want to share the W00t!, I'm grateful for
http://of-vim-and-vigor.blogspot.com/[beverages].

Fanf,ingTastic; is a Vim plugin that enhances the builtin +F+ +f+ +,+ +T+ +t+
and +;+ keys by allowing them to wrap over lines with the full gamut of
normal, visual and operator pending mode supported. This is all the default
configuration of Fanf,ingTastic; provides, however the following enhanced
functionality can be enabled through configuration options:

  • Case insensitivity Fanf,ingTastic; is case
    sensitive by default but can be set to ignore case so that +fx+ will

match either x'' or X''.

  • Aliases Fanf,ingTastic; allows you to
    create aliases which specify a set of characters that will be

scanned for when FfTt;, is used on that alias. For example:
+
:FanfingTasticAlias b ()

:FanfingTasticAlias B {}
+
would allow +fb+ to search forward to the next ('' or )'' character (spanning
lines as necessary). Likewise, +TB+ would scan backwards (spanning lines) to
place the cursor just to the right hand side of the {'' or }'' character prior
to the cursor's current position. Of course, with both of these aliases
enabled, the user will not be able to find plain b'' or B'' characters with the
fFtT;, commands.

NOTE: Fan,fingTastic; depends on Tim Pope's [repeat] plugin for
accurate dot operator support in Vim. At this stage, the f,ing
commands cannot be composed with the dot operator within a :norm
command.

添加新评论