New answers tagged

0

'foldminlines' 'fml' number (default: 1) local to window {not available when compiled without the +folding feature} Sets the number of screen lines above which a fold can be displayed closed. Also for manually closed folds. With the default value of one a ...


2

See :help 'foldopen': *'foldopen'* *'fdo'* 'foldopen' 'fdo' string (default: "block,hor,mark,percent,quickfix, search,tag,undo") global {not available when compiled without the +folding feature} Specifies for which type of commands folds will be ...


0

The zf Normal-mode command takes a motion, and moving to a mark is a valid motion. So 'azf'b is a valid command to create a new fold in the range between marks 'a and 'b, and it's equivalent to :'a,'bfo. Other than that, if you want to dedicate a couple marks (such as 'a and 'b in your example) and always use them as beginning and end of the region to fold, ...


Top 50 recent answers are included