" Turn on syntax highlighting syntax on " Automatically wrap text that extends beyond the screen length set wrap " Tabs set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab " Show line numbers set number " Display different types of white spaces set list set listchars=tab:›\ ,trail:•,extends:#,nbsp:. " Set status line display set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ [BUFFER=%n]\ %{strftime('%c')} " Encoding set encoding=utf-8 "Highlight matching search patterns set hlsearch " Enable incremental search set incsearch " Include matching uppercase words with lowercase search terms set ignorecase " Include only uppercase words with uppercases search term set smartcase " Highlight matching pairs of brackets. Use the '%' character to jump between them. set matchpairs+=<:> " Speed up scrolling set ttyfast " Fixes common backspace problems set backspace=indent,eol,start