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