init: fastfold for small files
[vimconf.git] / init.vim
index e7c0dac9f752fff1c31356882f671351b03e2840..2901f3c5047624382fc5ff1aa6a183d72b0f881a 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -15,6 +15,7 @@ set scrolloff=5
 
 set encoding=utf-8
 
+set fillchars=vert:│,fold:\ 
 set listchars=tab:»­,trail:·,eol:$
 set virtualedit=block
 
@@ -119,7 +120,10 @@ let g:clang_compilation_database = '.'
 let g:python3_host_prog = '/usr/bin/python3'
 " deoplete requires huge startuptime. Delay loading upon first InsertEnter.
 let g:deoplete#enable_at_startup = 0
-let g:deoplete#enable_smart_case = 1
+call deoplete#custom#option({
+                            \ 'smart_case' : v:true,
+                            \ 'auto_refresh_delay' : 100,
+                            \ })
 au InsertEnter * call deoplete#enable()
 
 "augroup pencil
@@ -177,6 +181,8 @@ augroup END
 
 let g:localvimrc_persistent = 1
 
+let g:fastfold_minlines = 0
+
 au FileType markdown call RagtagInit()
 
 let g:detectspelllang_langs = {}
@@ -204,6 +210,8 @@ let g:VimMailContactsCommands={
         \'sync': "/bin/true"}
   \}
 
+let g:vimtex_fold_enabled = 1
+let g:vimtex_fold_levelmarker = '➜'
 
 " The denite settings are largely stolen from spacevim
 let s:denite_options = {