gccsingle.vim


Ⅰ. 插件描述

Quick run single C source file

Ⅱ. 基本信息

创建日期:  2011-09-11
使用用户:  2
Github星:  1
插件作者:  Tian Huixiong

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

        This is a smart utility for quick run single c source file in vim.

        It has follow features:
                1. Use gcc compiler.
                2. Compile and run single c source file just one command.
                3. Program's output is showing below the source file in a new window.
                4. You can hide the output window easily.
                5. When there are some errors, quick window will automatically appears.
                6. When there is no error, quick window hides automatically.
                7. When you compile it, source code is saved by the script, so you need not to save it.
                8. Only three commands, easily to remember, easily to use.

        The most cool things are:
                1. Run source file just one command.
                2. Quick window shows and hides automatically.
                3. Everything happened in vim, no ugly command window.

Screenshot
        Has bugs, quick window appears
        http://vimer.1063083.n5.nabble.com/Quickfix-window-td4791439.html

        No bug, output in vim, no command window
        http://vimer.1063083.n5.nabble.com/Output-window-td4791441.html

添加新评论