Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
add ability to disable autofolding
Browse files Browse the repository at this point in the history
  • Loading branch information
acgreek committed Aug 9, 2019
1 parent dd54a5d commit 266b74a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .EverVim.vimrc.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

" EverVim options {

" Disable folding
" let g:evervim_disable_folding=1
"

" EverVim Bundle Groups
" Bundle Group name is just folders under ~/.EverVim/plugins
" Below is the default config, uncomment and make your own
Expand Down
7 changes: 6 additions & 1 deletion core/vimui.vim
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ set scrolljump=5 " Lines to scroll when cursor leaves screen
if !ONI()
set scrolloff=3 " Minimum lines to keep above and below cursor
endif
set foldenable " Auto fold code
if exists('g:evervim_disable_folding')
set nofoldenable " Disable Auto fold code
else
set foldenable " Auto fold code
endif

set list
set listchars=tab:\│\ ,trail:•,extends:#,nbsp:· " Highlight problematic whitespace, tab: ›
if exists('g:evervim_80_column_warning')
Expand Down

0 comments on commit 266b74a

Please sign in to comment.