Some sensible settings. A good starting point for beginners.
Use :help option in Vim to see the documentation for the given option.
Inspired by https://github.com/tpope/vim-sensible
if has('autocmd')
filetype plugin indent on
endif
if has('syntax') && !exists('g:syntax_on')
syntax enable
endif
set autoindent
set backspace=indent,eol,start
set smarttab
set ttimeout
set ttimeoutlen=100
set incsearch
set ignorecase
set smartcase
set title
set laststatus=2
set ruler
set showcmd
set encoding=utf-8
set autoread