plugins: Add vim-manpager
[vimconf.git] / init.vim
index 6d828c5ddca4dc2f982c9f2ab0e70ae64ff48937..6d8e56ed07ea93d53e229f6a146b07733b707da0 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
@@ -57,7 +60,11 @@ call neomake#configure#automake('w')
 
 let g:clang_compilation_database = '.'
 
-let g:deoplete#enable_at_startup=1
+" Speedup deoplete startup time, see deoplete FAQ
+let g:python3_host_prog = '/usr/bin/python3'
+" deoplete requires huge startuptime. Delay loading upon first InsertEnter.
+let g:deoplete#enable_at_startup = 0
+autocmd InsertEnter * call deoplete#enable()
 
 "augroup pencil
   "au!
@@ -97,7 +104,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