summary refs log tree commit diff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/vimrc b/vimrc
new file mode 100644
index 0000000..382b5be
--- /dev/null
+++ b/vimrc
@@ -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