Add folding parameters, shortcut and lazyredraw