'''
colorscheme desert
set guifont=Consolas:h11
set tabstop=4
set expandtab
set shiftwidth=4
set nowrap
set noswapfile
set nobackup
set noundofile
set nohlsearch
set incsearch
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set nu
set guioptions-=T
set cindent
set nocompatible
set history=100
set confirm
set clipboard+=unnamed
filetype on
filetype indent on
syntax on
set backspace=2
set whichwrap+=<,>,h,l
set shortmess=atI
set report=0
set noerrorbells
set showmatch
map <F5> :call CompileRunGcc()<CR>
func! CompileRunGcc()
exec "w"
if &filetype == 'c'
"linux
exec '!g++ % -o %<'
exec '!time ./%<'
"windows
" exec '!g++ % -o %<'
" exec '!%<.exe'
elseif &filetype == 'cpp'
exec '!g++ % -o %<'
exec '!time ./%<'
elseif &filetype == 'python'
exec '!time python %'
elseif &filetype == 'sh'
:!time bash %
endif
endfunc
'''