vimxcode


Ⅰ. 插件描述

Vim plugin for effortlessly configuring, building and running Xcode projects from right inside Vim.

Ⅱ. 基本信息

创建日期:  2013-02-25
使用用户:  2
Github星:  2
插件作者:  hkrish

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

      (_)         \ \ / /             | |     
__   ___ _ __ ___  \ V /  ___ ___   __| | ___ 
\ \ / / | '_ ` _ \ /   \ / __/ _ \ / _` |/ _ \
 \ V /| | | | | | / /^\ \ (_| (_) | (_| |  __/
  \_/ |_|_| |_| |_\/   \/\___\___/ \__,_|\___|
                                              

/* vim plugin to configure, build, and run Xcode projects */

/* Using Pathogen */
git clone https://github.com/hkrish/vimxcode.git ~/.vim/bundle/vimXcode

vimXcode

vim plugin to configure, build, and run Xcode projects

Installation

Using Pathogen

$ git clone https://github.com/hkrish/vimxcode.git ~/.vim/bundle/vimXcode

Using vimXcode

vimXcode should find the Xcode project file automatically, even when they
are inside a subdirectory of the root folder. if the plugin can't find the
xcode project ( *.xcodeproj ). Then try creating a file
named .xvim in the root folder of your project.

$ cd <root_folder_of_your_project>
$ touch .xvim

Building and Running

while in NORMAL mode,

  • press <F5> to build and see errors if any
  • press <F6> to build and run if there are no errors

Configuring

Following vim commands are currently implemented

  • :XcodeChooseSDK - Choose a supported SDK installed on your system
  • :XcodeChooseTarget - Choose a build target
  • :XcodeChooseConfiguration - Choose a build Configuration. Debug, Release *
  • :XcodeChooseArchitecture - Choose an Architecture from the valid architecture list

By default vimXcode builds projects in Debug configuration.

All of the configuration settings last only the current vim session. vimXcode does not
mess around with your project files.

添加新评论