let g:neocomplcache_enable_at_startup=1 #这个是对应插件使用的配置
set nocompatible
set cindent
set autoindent
set smartindent
set nu
set noeb
set confirm
set ruler
filetype on
filetype plugin on
filetype indent on
color default
set tabstop=4
set softtabstop=4
set smarttab
set fdm=indent
set shiftwidth=4
set showmatch
syntax on
map :call CompileRunGcc()
func! CompileRunGcc()
exec "W"
exec "!gcc -g % -o %<"
exec "! ./%<"
endfunc
map :call CompileRunGpp()
func! CompileRunGpp()
exec "W"
exec "!g++ -g % -o %<"
exec "! ./%<"
endfunc
阅读(1046) | 评论(0) | 转发(0) |