includefixer


Ⅰ. 插件描述

Vim plugin to automatically categorize and alphabetize #include headers

Ⅱ. 基本信息

创建日期:  2013-12-15
使用用户:  2
Github星:  2
插件作者:  Deon Poncini

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

---
Title: Include Fixer for Vim
Description: Categorize and Alphabetize C and C++ #include directives
Author: Deon Poncini
Created: 2013 Dec 14
Modified: 2013 Dec 14


Include Fixer for Vim

Developed by Deon Poncini <dex1337@gmail.com>

Downloads

Installation

Option 1: Manual installation

  1. Move includefixer.vim to your .vim/plugin directory.

        $ cd includefixer/plugin
        $ mv includfixer.vim ~/.vim/plugin/
    

Option 2: Pathogen installation (recommended)

  1. Download and install Tim Pope's [Pathogen].
  2. Next, move or clone the includefixer directory so that it is
    a subdirectory of the .vim/bundle directory.

    1. Clone:

    $ cd ~/.vim/bundle
    $ git clone https://github.com/DeonPoncini/includefixer.git

    1. Move:

      In the parent directory of includefixer:
      
          $ mv includefixer ~/.vim/bundle/
      

Usage

:FixIncludes

For more extensive information, please see the documentation inside
doc/includefixer.txt

License

Copyright (c) 2013 Deon Poncini

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

添加新评论