project.vim


Ⅰ. 插件描述

Fast  to open  C project

Ⅱ. 基本信息

创建日期:  2011-11-28
使用用户:  3
Github星:  14
插件作者:  Jingguang Pang

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This script trys to help you open a C project quickly and automatically initialize the working environment, such as creating cscope, ctags files, files_list, etc.

More work is needed. Now the script contains the following functionalitiy:

  1. Initialize the project, which contains recording the work directory, mapping useful keys, etc.
  2. Create cscope.out files,  [ cscope.in.out, cscope.po.out are also included]
  3. Create ctags files, which is useful for omni completion, make sure you have install the omnicompletion script
  4. Update the project. <F8>u
  5. Save the working status(just use "mksession" command). <F8>s
  6. Safely close the project. <F8>q
  7. Count source lines. (only take the advantage of  "wc" command)  _wc
  8. Clear the project, nothing extra files left. (no cscopes, no files.list, no session.vim...)  <F8>c
  9. Recover from the last working status.

Support a menu named "Project". Read more from the script file.  More details about usage will be added soon.

添加新评论