tocdown : display the headlines of a markdown document in an extra window
script karma |
Rating 4/3,
Downloaded by 1213 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Matthias Guenther |
|
script type |
utility |
|
description |
Description:
When you are writing a tons of documents in markdown with many headings and you want to get an overview about all the headlines you have, would it be very handy to have shortcut in Vim to simply give you a structured representation of all the heading you have in your large markdown file?
The great taglist.vim plugin solved the problem already for variables and functions of many different programming languages but not for plain markdown-files. That's why I wrote tocdown.
Usage:
Simply press :TocdownToggle and the extra window with the headline of the current file will open. If you call :TocdownToggle again, the window will be closed.
When you know how you want to use this plugin, you can use a custom mapping in your |:vimrc| to toggle the toc of a md-file
nnoremap <F2> :TocdownToggle
You can change the mapping to your needs.
Screencast:
http://www.screenr.com/zvos
|
|
install details |
Installation
Unzip the most recent ZIP (https://github.com/matthias-guenther/tocdown/zipball/master) archive file inside your Vim profile directory (usually ~/.vim).
The plugin is compatible with Tim Popes pathogen script https://github.com/tpope/vim-pathogen. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.222.110.185
|