Side-C


Ⅰ. 插件描述

a simple IDE for C/C++

Ⅱ. 基本信息

创建日期:  2008-11-09
使用用户:  1
Github星:  1
插件作者:  Boyko Bantchev

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Side-C is a small plug-in implementing basic IDE functionality for developing one-file C or C++ programs.  It automates the following actions.

  • Finding the program file among several open (so that to know what to compile or what and where to run).
  • Building a program from its source.  The error message ('quickfix') window is being shown or hidden as needed.
  • Running a program from wherever it resides.  Building it first if necessary.
  • Running a program with redirecting its standard input, output, or both.
  • Opening a browser for the directory of the currently edited file.
  • Running an o.s. command shell in the directory of the currently edited file.

The plug-in is designed and tested to work on Linux and MS DOS/MS Windows, using gcc on both (DJGPP in the case of MS Windows).  It should work on other Unix systems as well.  With small changes, it should be possible to tailor it to other operating systems and compilers.

See the comments in the plug-in itself for more details.

添加新评论