From: Stefan Huber Date: Wed, 23 Dec 2020 12:22:05 +0000 (+0100) Subject: Speedup and customize (tex) folding X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=db4b6f6deafef656c17f410235d59925c55313fa;p=vimconf.git Speedup and customize (tex) folding --- diff --git a/init.vim b/init.vim index e7c0dac..eae73f7 100644 --- 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 @@ -204,6 +205,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 = { diff --git a/plugins.vim b/plugins.vim index 5699cc5..f6a2d74 100644 --- a/plugins.vim +++ b/plugins.vim @@ -16,6 +16,8 @@ Plug 'tpope/vim-fugitive' Plug 'airblade/vim-rooter' Plug 'benknoble/vim-auto-origami' +" Prevent slow foling update, e.g., for vimtex +Plug 'Konfekt/FastFold' Plug 'scrooloose/nerdcommenter'