set nocompatible
syntax on

"Enables incremental search, result highlighting, ignore case
set showmatch
set incsearch
set hlsearch
set ic

"Enables line numbers, turns off line wraps
set number
set nowrap
set ruler

"Sets four space offsets for tabs, enables autochange of
set tabstop=4
set shiftwidth=4
set smarttab
set et
set ai

"Enables check for external changes
set autoread

"Turns off errors notifications
set noerrorbells
set novisualbell

"Sets arrows for switching tabs
map :tabn<cr>
map :tabp<cr>
map :tablast<cr>
map :tabfirst<cr>

"Highlight twig files as html files
au BufRead,BufNewFile *.twig set filetype=html