Skip to content

Commit

Permalink
docs: Correct mappings zo/zO and add za/zA (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
x0urc3 authored Mar 1, 2024
1 parent 46add6c commit a657e69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 6 additions & 2 deletions doc/vim-markdown.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit a657e69

Please sign in to comment.