colorscheme koehler
syntax on

set cindent
set shiftwidth=4
set softtabstop=4
set tabstop=4
set number
set backspace=indent,eol,start
set expandtab
"set showmatch
set makeprg=g++\ -O2\ -Wall\ -static\ %\ -lm\ -o\ %<

imap <F2> <ESC>:w<CR>
nmap <F2> <ESC>:w<CR>

imap <F5> <ESC>:make! <CR>
map <F5> :make! <CR>


imap <F9> <ESC>:!time ./%<<CR>
nmap <F9> <ESC>:!time ./%<<CR>

map <F3> :tabprev <CR>
map <F4> :tabnext <CR>
imap <F3> <ESC> :tabprev <CR>i
imap <F4> <ESC> :tabnext <CR>i
"set omnifunc=ccomplete#Complete
