Ⅰ. 插件描述
Fast to open C projectⅡ. 基本信息
|
Ⅲ. 安装方法
使用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:
- Initialize the project, which contains recording the work directory, mapping useful keys, etc.
- Create cscope.out files, [ cscope.in.out, cscope.po.out are also included]
- Create ctags files, which is useful for omni completion, make sure you have install the omnicompletion script
- Update the project. <F8>u
- Save the working status(just use "mksession" command). <F8>s
- Safely close the project. <F8>q
- Count source lines. (only take the advantage of "wc" command) _wc
- Clear the project, nothing extra files left. (no cscopes, no files.list, no session.vim...) <F8>c
- 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.