mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
613 stars 59 forks source link

How to remove TOC ? #28

Closed ashutoshmjain closed 7 years ago

ashutoshmjain commented 7 years ago

I generated the TOC and its working well .. For now I want to remove it till I finish formatting t he document and then regenerate the TOC .. Is there a command for removing the TOC ?

Thanks in advance

mzlogin commented 7 years ago

There's no command already have to remove TOC before your issue. I add one just now. 😄

So please update this plugin to newest version, and you can do it with command :RemoveToc.

btw: TOC will auto update on save by default, just keep it there and you will get newest TOC match your content always, why do you want to remove the TOC and regenerate it manually later?