set nocp
set sw=4
set ts=4
"set et
set cindent
set backspace=2
syntax on
let loaded_matchparen = 0
filetype on
set nocindent
"ctags
"let vim load tags
set tags=tags
set tags+=./tags "add current directory's generated tags file
"Taglist - dependent on ctags
nmap :TlistToggle
let Tlist_Show_One_File=1 "不同时显示多个文件的tag,只显示当前文件的
let Tlist_Exit_OnlyWindow=1 "如果taglist窗口是最后一个窗口,则退出vim
let Tlist_Ctags_Cmd="/usr/bin/ctags" "将taglist与ctags关联
let Tlist_Use_SingleClick=1
"NERDTree
nmap :NERDTreeToggle
let g:NERDTreeWinPos="right"
let g:NERDTreeWinSize=25
let g:NERDTreeShowLineNumbers=1
let g:neocomplcache_enable_at_startup = 1
"cscope
set cscopequickfix=s-,c-,d-,i-,t-,e-
nmap :cp "QuickFix Window previous
nmap :cn "QuickFix Window next
set nocscopeverbose
""""""""""""""""""""""""""""""
" miniBufexplorer Config
""""""""""""""""""""""""""""""
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapCTabSwitchWindows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
"解决FileExplorer窗口变小问题
let g:miniBufExplForceSyntaxEnable = 1
let g:miniBufExplorerMoreThanOne =2
"默认最大化窗口打开
au GUIEnter * simalt ~x
"set mouse=n "use mouse at normal mode
set nu
阅读(1798) | 评论(0) | 转发(0) |