install: Print info on manpager
[vimconf.git] / init.vim
index 219ad2f33a3601d2ab188690baff666637be2c11..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!