" Basics
set mouse=a " make sure mouse is used in all cases.
colorscheme wuye " define syntax color scheme
set showmatch " show matching brackets (),{},[]
set number

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif

" always show status line on every window
set laststatus=2

" don't blink the screen
set novb

" highlight redundant whitespaces and tabs.
"highlight RedundantSpaces ctermbg=red guibg=red
"match RedundantSpaces /\s\+$\| \+\ze\t\|\t/