Use ctrlp.vim to include C/CPP standard header
Its not very powerful now, I just get standard header from
you can use CtrlPHeader
command to include normal stype header like this:
#include <string>
you can use CtrlPEHeader
command to include normal header with extren "C"
guard like this:
extern "C" { #include <libswscale/swscale.h> }
you can map this two command to some short cut like this
nnoremap <silent> <Leader>i :CtrlPHeader<CR>
[ ] add the support of include header at certain line
[ ] cache
[ ] semantic map of type and headers