syntax on filetype on filetype indent on filetype plugin on set autochdir set autoindent set backspace=2 set backspace=indent,eol,start set expandtab set enc=utf-8 set ff=unix set fileencoding=utf-8 set fileformats=unix,dos,mac set list set listchars=tab:>.,trail:. set nocompatible set nowrap set number set ruler set scrolloff=5 set shiftwidth=4 set showmatch set softtabstop=4 set tabstop=4 set ttyfast " Go uses tabs, not spaces au BufNewFile,BufRead *.go setlocal noet ts=4 sw=4 sts=4