init: Change indent settings
[vimconf.git] / init.vim
index 6d828c5ddca4dc2f982c9f2ab0e70ae64ff48937..52bce1887ae08ac93c5633aeb12e6e020eed8dcf 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -7,17 +7,21 @@ set number
 set cursorline
 set scrolloff=5
 
-
 set encoding=utf-8
 
 set listchars=tab:»­,trail:·,eol:$
 set virtualedit=block
 
+filetype plugin indent on
+
 set tabstop=4
 set shiftwidth=4
 set expandtab
 set smarttab
 
+set autoindent
+set smartindent
+
 set incsearch
 set hlsearch
 
@@ -30,7 +34,6 @@ if has('nvim')
 end
 
 syntax on
-filetype plugin indent on
 runtime plugsetup.vim
 
 let g:airline_powerline_fonts=1
@@ -97,7 +100,7 @@ au Filetype tex set shiftwidth=2
 au BufRead,BufNewFile *.plt set filetype=gnuplot
 
 :let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'],
-      \ ['|', 'OBSOLETE(o)'],
+      \ ['|', 'OBSOLETE(o)', 'WONT(n)'],
       \ ['CANCELED(c)']]
 
 " Trailing whitespace