fastlane


Ⅰ. 插件描述

a tool to help you quick edit and save abbreviation, snippets .etc

Ⅱ. 基本信息

创建日期:  2009-06-09
使用用户:  1
Github星:  1
插件作者:  dong hongbo

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

what is ?
a tool to help you quick edit and save abbreviation, snippets .etc

how to install?
maybe you  want install snippetEmu first.

unzip the file of you down, copy fastlane.vim to plugin directory, copy example_snippets.vim to you snippets directory if the file is not exist. write "let g:iwn_snippet_dir = your snippets directory"  to your  .vimrc file .  you are done!

options you can set the  .vimrc for a example:
let iwn_default_module = 'php'
let iwn_include_modules = {'php': ['javascript'], 'symfony': ['javascript', 'php']}

how to use?
:IwnCreateModule test
create a module named test

:IwnUseModule test
use the  test module

:IwnAddAbb hello hello, world
create a abbreviation for "hello, world", try input "hello<space>"

input these text:
  hello,world
  yes
  no <sni>hello</sni>
  hello <sni></sni>  
select these text, and execute :IwnAddSnippet hello
you will create a snippet named hello, try input "hello<tab>"

some examples fo other command:
IwnRemoveModule test
IwnRemoveAbb hello
IwnRemoveSnippet hello

that's all, fun happing!

添加新评论