Ⅰ. 插件描述
Vim plugin for Cocoa/Objective-C development.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'fomichev/cocoa-vim-red'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'fomichev/cocoa-vim-red'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'fomichev/cocoa-vim-red'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/fomichev/cocoa.vim
Ⅳ. 文档说明
Quickly install with:
mkdir cocoa.vim
cd !$
git clone git://github.com/msanders/cocoa.vim.git
cp -r . ~/.vim
Remove annoying "is a web application downloaded from the internet" prompt with:
cd ~/Library/Developer/Shared/Documentation/DocSets
sudo xattr -rd com.apple.quarantine *.docset
To allow custom Cmd-b key binding (to issue 'Build' in the Xcode), put the following in the .gvimrc:
if has("gui_macvim")
macmenu &Tools.Make key=<nop>
endif