vim-fieldtrip


Ⅰ. 插件描述

simple sideways submode

Ⅱ. 基本信息

创建日期:  2014-01-21
使用用户:  2
Github星:  9
插件作者:  Torsten Schmits

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

## Description

fieldtrip is a combination of the plugins submode and sideways.

By pressing fieldtrip_start_map, vim enters a sideways submode. h and l
are then temporarily mapped to :SidewaysLeft and :SidewaysRight, h and l
will cycle through the fields.
d will delete the motion <Plug>SidewaysArgumentTextobjA, x deletes the
"inner" variant <Plug>SidewaysArgumentTextobjI. By default, <esc> exits
the submode. Consult the submode doc for more options, especially for
preventing the automatic exit after 'timeout' ms of idling.

Customization

Change g:fieldtrip_start_map to the key sequence you want to use to enter the
submode.

Read the help file for the variable names used to map the submode actions.

License

Copyright (c) Torsten Schmits. Distributed under the terms of the [MIT
License][3].

添加新评论