feat: add vim fold

main
sudo pacman -Syu 2023-08-16 18:42:07 +07:00
parent 01f7679a29
commit d64b20b188
2 changed files with 14 additions and 0 deletions

View File

@ -135,6 +135,15 @@
</ul>
</li>
</ul>
<h2>
<a id="user-content-fold" class="anchor" aria-hidden="true" href="#fold"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Fold
</h2>
<ul>
<li><code>zR</code>: open all folds.</li>
<li><code>za</code>, <code>zA</code>: toggle fold</li>
</ul>
<h2>
<a
id="user-content-keymap"

View File

@ -77,6 +77,11 @@ Advance:
- Support jump to Go definition with
[fatih/vim-go](https://github.com/fatih/vim-go).
## Fold
- `zR`: open all folds.
- `za`, `zA`: toggle fold
## Keymap
Use both `\` and `;` as leader key: