New answers tagged


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