Ⅰ. 插件描述
ctrlp.vim extension for running iOS simulators.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cfdrake/ctrlp-iossim-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cfdrake/ctrlp-iossim-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cfdrake/ctrlp-iossim-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cfdrake/ctrlp-iossim.vim
Ⅳ. 文档说明
# ctrlp-iossim.vim

Description
A simple plugin allowing you to launch an installed iOS simulator. Built on and requires the ctrlp.vim plugin.
Requirements
This plugin requires the ios-sim utility. This may be installed via the following command:
brew install ios-sim
Additionally, ctrlp.vim must be installed, given this is an extension built on top of it.
Install
My preference for installing vim plugins is Neobundle. To install this script using NeoBundle,
simply add the following to the appropriate section of your .vimrc:
NeoBundle 'cfdrake/ctrlp-iossim.vim'
Usage
The plugin will automatically be available! All you need to do is execute :IOSSim. From here,
the behavior is standard ctrlp.vim. All you need to do is select or search for a simulator in
the prompt, and ctrlp-iossim.vim will run it for you.
License
See the LICENSE file. In short, BSD.