http://blog.csdn.net/fdl19881/article/details/7275203

ctags .vim: http://www.vim.org/scripts/script.php?script_id=610

taglist.vim :  http://www.vim.org/scripts/script.php?script_id=273

tags for std c++ : http://www.vim.org/scripts/script.php?script_id=2358

$ ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++ -f opencv /usr/include/opencv/   # for OpenCV

code_complete: http://blog.csdn.net/mdl13412/article/details/8097457

.vimrc

colorscheme desert
syntax on
set tabstop=
set softtabstop=
set shiftwidth= set autoindent set cindent set cinoptions={,1s,t0,n-,p2s,(03s,=.5s,>1s,=1s,:1s set nu if &term=="xterm"
set t_Co=
set t_Sb=^[[%dm
set t_Sf=^[[%dm
endif let g:ctags_path="/usr/bin/ctags"
let g:ctags_statusline=
let g:ctags_title=
let g:generate_tags=
let g:ctags_regenerate=
let Tlist_File_Fold_Auto_Close= "configure tags - add additional tags here or comment out not-used ones"
set tags+=~/.vim/tags/cpp
set tags+=~/.vim/tags/opencv " build tags of your own project with Ctrl+F12"
map <C-F12> :!ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q .<CR> """"""""""""""""""""""""""""""
" Tag list (ctags) 输入”:TlistOpen“时, 打开taglist窗口, ":TlistUpdate" 更新taglist, :TlistToggle“在打开和关闭间切换。
""""""""""""""""""""""""""""""
let Tlist_Show_One_File = "= 1 时,不同时显示多个文件的tag,只显示当前文件的
let Tlist_Exit_OnlyWindow = "如果taglist窗口是最后一个窗口,则退出vim
let Tlist_Use_Right_Window = "在右侧窗口中显示taglist窗口
autocmd BufWritePost *.cpp :TlistUpdate " 自动刷新taglist
let Tlist_Auto_Open = " 默认自动打开taglist窗口 " OmniCppComplete
" set the filetype to cpp format(when using c++)
set nocp
filetype plugin on
let OmniCpp_NamespaceSearch =
let OmniCpp_GlobalScopeSearch =
let OmniCpp_ShowAccess =
let OmniCpp_ShowPrototypeInAbbr = " show function parameters
let OmniCpp_MayCompleteDot = " autocomplete after .
let OmniCpp_MayCompleteArrow = " autocomplete after ->
let OmniCpp_MayCompleteScope = " autocomplete after ::
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"] " automatically open and close the popup menu / preview window
au CursorMovedI,InsertLeave * if pumvisible() == |silent! pclose|endif
set completeopt=menuone,menu,longest,preview

最新文章

  1. 请写一个php函数,可以接受任意数量的参数
  2. matlab中数组创建方法
  3. MAT-Java内存分析工具
  4. 【BZOJ】1436: Poi2003 Trinomial
  5. 【Vijos】1431 守望者的逃离
  6. 让Tomcat支持中文文件名
  7. Chrome的JS调试工具
  8. CentOS下modelsim 10.2c install &amp; crack
  9. DJANGO中获取登陆用名及别名
  10. [Javascript] Modifying an Immutable.js Map()
  11. [转] 用PDB库调试Python程序
  12. linux内核学习之一:环境搭建--安装Debian7.3
  13. IRC配置for open source community
  14. java Native 方法
  15. Codeforces Round #346 (Div. 2) B Qualifying Contest
  16. lamp 环境配置
  17. MongoDB小东西
  18. 添加按钮 table增加一行 删减按钮 table去掉一行
  19. 继承:继承后子类构造函数具有隐式super,所以子类中所以的构造函数默认会访问父类中的空参数的构造函数
  20. 笔记本电脑切换到无线热点无法联网问题&amp;Spring Cloud相关工程启动报错问题

热门文章

  1. jvm基础(2)
  2. Mysql 基本操作指令+增删查改
  3. webpack打包问题
  4. 使用 lstat 函数获取文件信息
  5. WPF学习专题
  6. 更改UISearchBar button属性
  7. 【BZOJ2161】布娃娃 扫描线+线段树
  8. 5 Ways to Make Your Hive Queries Run Faster
  9. MYSQL数据库装在C盘的,怎么移到D盘
  10. iOS开发过程中 xcode文件与Finder中文件保持一致 + 支付宝集成出错