Ⅰ. 插件描述
CodeKit 2 support for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'noahfrederick/vim-codekit'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'noahfrederick/vim-codekit'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'noahfrederick/vim-codekit'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/noahfrederick/vim-codekit
Ⅳ. 文档说明
# vim-codekit
CodeKit 2 support for Vim
Features
CodeKit.vim provides support for controlling CodeKit 2 from Vim. It uses
CodeKit's AppleScript interface to provide the following features:
- Add the current project to CodeKit
- Switch to the current file's project
- Preview the current project in a browser
- Pause and unpause CodeKit's watching of project files
See :help codekit for a list of the provided commands.
Development
Documentation
The documentation in doc/ is generated from the plug-in source code via
vimdoc. Do not edit doc/codekit.txt directly. Refer to the
existing inline documentation as a guide for documenting new code.
The help doc can be rebuilt by running:
rake doc