Confusion about vim folding - how to disable?
The easiest way to disable (and enable) folding on the fly is zi
.
zi
is the normal mode command that toggles 'foldenable'
, just like :set foldenable!
.
Mnemonic: "fold invert". See :h zi
.
You're not alone.
set nofoldenable " disable folding