vimrc

my ~/.vimrc

set nocompatible
set backspace=indent,eol,start
set expandtab
set tabstop=4
set shiftwidth=4
set smarttab
set showmatch
set hlsearch
set incsearch
set ignorecase
set ffs=unix
set fencs=utf-8
set number
set nocompatible
set termencoding=utf-8
syn on
highlight Comment ctermfg=Red
autocmd FileType c map <F5> :! gcc -std=c99 %<cr>
autocmd FileType cpp map <F6> :! g++ %<cr>
autocmd FileType * map <F7> :! make<Enter>
autocmd FileType * map <F8> :! make clean<Enter> && make<Enter>
autocmd FileType * map <F9> :! ./a.out<Enter>