summary refs log tree commit diff
path: root/vimrc
blob: 382b5be776c74fcdca2964ecc0c738365a438847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
setlocal spell spelllang=en_us

syn off

set autoindent
set autowrite
set expandtab
set ignorecase
set list
set listchars=tab:>-,trail:~,extends:>,precedes:<
set nohls
set nospell
set ruler
set viminfo=""

set shiftwidth=2
set smarttab
set tabstop=2

set nobackup                    " Don't create annoying backup files
set noswapfile                  " Don't use swapfile
set nowritebackup

set noerrorbells                " No beeps

set autoread                    " Automatically reread changed files without asking me anything
set autowrite                   " Automatically save before :next, :make etc.
set encoding=utf-8              " Set default encoding to UTF-8

set winminheight=0              " minimize split window


au BufNewFile,BufRead *.go setlocal noet ts=4 sw=4 sts=4