8 years ago
Prints a first-level TOC of the current markdown buffer. Type
:230 to jump to the corresponding heading.
Romain Lafourcade 8 years ago
@Vadym, yes, the first-level limitation was on purpose.
:g/^#/# would be enough for all headers, by the way.
Vadym Khokhlov 8 years ago ✎
Nice! But this command shows only first-level headers.
The command for all headers is: :g/^#\+ /#