From bbb4d486d8c2d85140bb635102df6beba8c3b454 Mon Sep 17 00:00:00 2001 From: Khairulmizam Samsudin Date: Sun, 11 Feb 2024 21:19:07 +0800 Subject: [PATCH] docs: Correct mappings zo/zO and add za/zA --- README.md | 6 ++++-- doc/vim-markdown.txt | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 250d3e5a..3ccf5325 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,10 @@ The following commands are useful to open and close folds: - `zR`: opens all folds - `zm`: increases fold level throughout the buffer - `zM`: folds everything all the way -- `za`: open a fold your cursor is on -- `zA`: open a fold your cursor is on recursively +- `za`: toggle a fold your cursor is on +- `zA`: toggle a fold your cursor is on recursively +- `zo`: open a fold your cursor is on +- `zO`: open a fold your cursor is on recursively - `zc`: close a fold your cursor is on - `zC`: close a fold your cursor is on recursively diff --git a/doc/vim-markdown.txt b/doc/vim-markdown.txt index 4aa8270c..3e843571 100644 --- a/doc/vim-markdown.txt +++ b/doc/vim-markdown.txt @@ -102,9 +102,13 @@ The following commands are useful to open and close folds: *vim-markdown-zM* - 'zM': folds everything all the way *vim-markdown-za* -- 'za': open a fold your cursor is on +- 'za': toggle a fold your cursor is on *vim-markdown-zA* -- 'zA': open a fold your cursor is on recursively +- 'zA': toggle a fold your cursor is on recursively + *vim-markdown-zo* +- 'zo': open a fold your cursor is on + *vim-markdown-zO* +- 'zO': open a fold your cursor is on recursively *vim-markdown-zc* - 'zc': close a fold your cursor is on *vim-markdown-zC*