syntax on "语法高亮
filetype on
set number "设置行号
set wildmenu "命令行模式tab键自动补齐
set history=1000 "历史命令个数
set background=dark "设置背景色
set autoindent "自动对齐
"set smartindent "开启新行时智能缩进
set magic "设置魔法
set tabstop=4 "设置tab键长度为4
set shiftwidth=4
set softtabstop=4
set showmatch "插入括号时短暂的跳转到匹配的对应括号
set guioptions=T
set vb t_vb=
set ruler "打开状态栏标尺
set nohls
set incsearch "输入搜索内容是就显示结果
set mouse=a "鼠标可用
set hlsearch "设置高亮搜索文本
set cursorline "突出显示当前行
if has(“vms”)
set nobackup "不备份修改文件
else
set backup "备份修改文件
endif
“”""""""""""""""""""""""
“Ctags config”
“”""""""""""""""""""""""
"set tags=/home/xuxuequan/fany/workspace/hualai/project/mi99/fw-wyze-outdoor/tags
set tags+=/home/xuxuequan/hisilicon/SDK/liteOS/Hi3518EV300_SHC_SDK_V1.0.0.2/mpp/tags
set tags+=/home/xuxuequan/hisilicon/SDK/liteOS/Hi3518EV300_SHC_SDK_V1.0.0.2/reference/battery_ipcam/tags
“”""""""""""""""""""""""
“TagList config”
“”""""""""""""""""""""""
let Tlist_Show_One_File = 1
let Tlist_Exit_OnlyWindow = 1
let Tlist_Auto_Open = 0
let Tlist_Ctags_Cmd = “/usr/bin/ctags”
"let Tlist_Use_Rigth_Window = 1
"let Tlist_Use_Show_Menu = 1
“”""""""""""""""""""""""
“cscope config”
“”""""""""""""""""""""""
if has(“cscope”)
set csprg=/usr/bin/cscope
set csto=1
set cst
set nocsverb
" add any database in current directory
if filereadable(“cscope.out”)
cs add cscope.out
endif
set csverb
endif
set cscopequickfix=s-,c-,d-,i-,t-,e-
“”""""""""""""""""""""""
“winmanager config”
“”""""""""""""""""""""""
let g:winManagerWindowLayout=‘FileExplorer|TagList’
let g:winManagerWidth=25
"let g:winManagerWindowLayout=‘BufExplorer,FileExplorer|TagList’ "设置页面分割
“”""""""""""""""""""""""
“bufExplorer config”
“”"""""""""""""""""""""
"let g:bufExplorerSplitRight=1
"let g:bufExplorerShowRelativePath=1
"let g:bufExplorerSortBy=‘mru’
"let g:bufExplorerSplitVertical=1
"let g:bufExplorerSplitVertSize=30
"let g:bufExplorerUseCurrentWindow=1
“”""""""""""""""""""""""
“快捷键设置”
“”""""""""""""""""""""""
nmap qq :q!
nmap :noh
nmap cw :cw
nmap wm :WMToggle
nmap tl :TlistToggle
nmap bf :BufExplorer
nmap cp :cs add /home/xuxuequan/hisilicon/SDK/Hi3516EV200_SDK_V1.0.0.2/mpp/cscope.out /home/xuxuequan/hisilicon/SDK/Hi3516EV200_SDK_V1.0.0.2/mpp
nmap cip :cs add /home/xuxuequan/fany/workspace/hualai/project/mi99/fw-wyze-outdoor/cscope.out /home/xuxuequan/fany/workspace/hualai/project/mi99/fw-wyze-outdoor
nmap cs :cs find s =expand("")
nmap cg :cs find g =expand("")
nmap cc :cs find c =expand("")
nmap ct :cs find t =expand("")
nmap ce :cs find e =expand("")
nmap cf :cs find f =expand("")
nmap ci :cs find i ^=expand("")$
nmap cd :cs find d =expand("")
</div>
<link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-b6c3c6d139.css" rel="stylesheet">
</div>