Skip to content

Commit a657e69

Browse files
authored
docs: Correct mappings zo/zO and add za/zA (#652)
1 parent 46add6c commit a657e69

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ The following commands are useful to open and close folds:
6868
- `zR`: opens all folds
6969
- `zm`: increases fold level throughout the buffer
7070
- `zM`: folds everything all the way
71-
- `za`: open a fold your cursor is on
72-
- `zA`: open a fold your cursor is on recursively
71+
- `za`: toggle a fold your cursor is on
72+
- `zA`: toggle a fold your cursor is on recursively
73+
- `zo`: open a fold your cursor is on
74+
- `zO`: open a fold your cursor is on recursively
7375
- `zc`: close a fold your cursor is on
7476
- `zC`: close a fold your cursor is on recursively
7577

doc/vim-markdown.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,13 @@ The following commands are useful to open and close folds:
102102
*vim-markdown-zM*
103103
- 'zM': folds everything all the way
104104
*vim-markdown-za*
105-
- 'za': open a fold your cursor is on
105+
- 'za': toggle a fold your cursor is on
106106
*vim-markdown-zA*
107-
- 'zA': open a fold your cursor is on recursively
107+
- 'zA': toggle a fold your cursor is on recursively
108+
*vim-markdown-zo*
109+
- 'zo': open a fold your cursor is on
110+
*vim-markdown-zO*
111+
- 'zO': open a fold your cursor is on recursively
108112
*vim-markdown-zc*
109113
- 'zc': close a fold your cursor is on
110114
*vim-markdown-zC*

0 commit comments

Comments
 (0)