vim-cpp-auto-include : Automatically insert or delete `#include`s for C++ code
script karma |
Rating 9/3,
Downloaded by 883 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
WU Jun |
|
script type |
ftplugin |
|
description |
For updated information, see https://github.com/quark-zju/vim-cpp-auto-include
Screencast
====
https://github.com/quark-zju/vim-cpp-auto-include/raw/master/demo/vim-cpp-auto-include-demo.gif
Note
====
This plugin is intended to be simple and intended to be used on simple C++ files only.
Usage
====
:w
Configuration
====
By default, only C++ files in /tmp are processed.
Add following line in your `.vimrc` to make your C++ code in `/some/path/` processed when saving:
autocmd BufWritePre /some/path/**.cpp :ruby CppAutoInclude::process
If you want more control, feel free to edit the source :) |
|
install details |
Copy the script to ~/.vim/plugin/
Alternatively, with Vundle, add "Bundle 'quark-zju/vim-cpp-auto-include'" in ~/.vimrc and run "BundleInstall" in vim. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.14.85
|