syntax on set background=dark if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal g'\"" | endif endif set showmatch set ignorecase set incsearch highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ au BufNewFile,BufRead *.less set filetype=less