Folding in VimEdit
Overview
:set foldmethod=indent: turn on indentation-based folding:set foldmethod=syntax: turn on syntax-based folding:set foldmethod=manual: turn on manual folding (the default)zj: move down to next foldzk: move up to previous foldzo: open fold at cursorzO: open all folds at cursor (recursively)zc: close current foldzC: close all foldsza: toggle fold at cursorzA: toggle all foldszm: increase fold level by one (mnemonic: "[m]ore folds")zM: increase fold level to maximum, closing all foldszr: reduce fold level by one (mnemonic: "[r]educe folds")zR: reduce fold level to zero, opening and removing all foldszd: delete fold at cursorzi: enable/disable folding (same as:set foldenableor:set nofoldenable)
Settings
set foldmethod=syntax " local to window
set foldlevel=1 " local to window
set foldlevelstart=1 " global