diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2016-12-10 10:25:13 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2016-12-10 10:25:13 -0800 |
| commit | f584fc8142f12c92ff0a9ce07d420458414ca47a (patch) | |
| tree | 84f96076922395503716a9128058ebed0fc8e632 /vimrc | |
| parent | [iterm] update (diff) | |
| download | emacs.d-f584fc8142f12c92ff0a9ce07d420458414ca47a.tar.gz | |
[vim] Add basic configuration for vim.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,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 |
