vault backup: 2025-03-21 11:02:18
This commit is contained in:
parent
2383ed19e7
commit
fdc7e5e79d
@ -48,3 +48,24 @@ a capital letter instead of the lower case letter. `za` is different:
|
|||||||
it is a toggle between open and closed. Recursively, it may be less useful
|
it is a toggle between open and closed. Recursively, it may be less useful
|
||||||
if there is a mixing of open and closed nested folds. `zA` will switch the
|
if there is a mixing of open and closed nested folds. `zA` will switch the
|
||||||
the folded status of all of them based on the parent fold (I think.)
|
the folded status of all of them based on the parent fold (I think.)
|
||||||
|
|
||||||
|
There are additional commands for opening and closing folds that may be useful.
|
||||||
|
`zm` will fold 'more', where it will fold to a certain nested
|
||||||
|
level. `zM` will close all folds. `zr` will fold 'less', where it will reveal
|
||||||
|
more. `zR` will open all folds.
|
||||||
|
|
||||||
|
There are two commands that will also change the enabled-ness of folding.
|
||||||
|
`zn` will open all folds and disable folding, while `zN` will set all
|
||||||
|
folds back to how they were before, and enable folding again
|
||||||
|
|
||||||
|
## Moving over folds
|
||||||
|
`[z` and `]z` will move to the beginning and end of the current open fold,
|
||||||
|
or to the start / end of the parent fold from the child fold. `zj` and `zk`
|
||||||
|
will move to the next fold in that direction.`zj` and `zk` can also be used
|
||||||
|
with operators before hand (`3zj` is down 3 folds).
|
||||||
|
|
||||||
|
|
||||||
|
## Editing and Commands on Folds
|
||||||
|
Closed folds act a lot like single lines with commands. `dl` for example will
|
||||||
|
not delete the current line if on a closed fold, it will delete everything in
|
||||||
|
the fold, period.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user