X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/917624e16c47de87c2adcacd08bc9472f718ec12..c4773a9b8e0ac823009bb342b2642f780de33cdc:/README.md?ds=inline diff --git a/README.md b/README.md index d2ed419..da77a07 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,22 @@ Highlight YAML frontmatter as used by Jekyll: let g:vim_markdown_frontmatter=1 ``` +#### Folding level + +Folding level is a number between 1 and 6. By default, if not specified, it is set to 1. + +```vim +let g:vim_markdown_folding_level = 6 +``` + +Tip: it can be changed on the fly with: + +```vim +:let g:vim_markdown_folding_level = 1 +:edit +``` + + ## Mappings The following work on normal and visual modes: