How can I make zC
fold only the current fold and the ones underneath? now it closes all outer folds.
For example, something like this will result in all brackets closing, while I would like to have only GlossList
and the ones underneath folded.
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": { <-cursor here
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": ["GML", "XML"]
},
"GlossSee": "markup"
}
}
}
}
}
Atom's Vim integration works like that, but I can't get used to the editor itself.
zc
?zc
only closes the current fold, leaving nested ones open; i.e: if I reopenGlossList
,GlossEntry
will also be open.