Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Option to add line number on TOC generation, for quick item navigation (ex.: 35g) #66

Open
rossijonas opened this issue May 19, 2020 · 0 comments

Comments

@rossijonas
Copy link

First of all, thank you for the work invested on this plugin, and for sharing it with us!

The issue

Quickly navigate to a markdown TOC item corresponding section using vim line numbers: 35g

The feature

Provide the hability for the vim-markdown-toc to add the relative item line number before or after each TOC item.

Providing an option like:

let g:vmt_add_line_number_reference = 1

...that would add the line number and deliver something like this:

<!--- vim-markdown-toc GFM -->

line   5     * Introduction
line  35       ** How To Install
line  45       ** Hello World

<!-- /vim-markdown-toc -->

With a feature like that would be super cool quick and easy to navigate within the markdown file with vim native support.

I appreciate your time on considering that!

@rossijonas rossijonas changed the title [Feature Request] Option to add line number on TOC generation, for qick item navigation (ex.: 35g) [Feature Request] Option to add line number on TOC generation, for qiuck item navigation (ex.: 35g) May 19, 2020
@rossijonas rossijonas changed the title [Feature Request] Option to add line number on TOC generation, for qiuck item navigation (ex.: 35g) [Feature Request] Option to add line number on TOC generation, for quick item navigation (ex.: 35g) May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant