Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Select previous line #12

Closed
mentat-fr opened this Issue · 2 comments

2 participants

@mentat-fr

Hello, and thanks for this great plugin.
I've markdown files where I would like to select title like this

Title 1
-----------------------------------
blah blah
### Other title

So I use :

:TToC \(^.*\n----.*\|^#.*\)

the line content of title one doesn't appear, line is empty.
I'm wrong or is this a bug ?

Can you help me to select the title one with the rule of go up one line before -----.*

Best regards

@tomtom
Owner

Hi,

This should go to the ttoc_vim issue tracker. The problem was solved in tomtom/ttoc_vim@8a629a0

I also included a pattern for markdown files at https://github.com/tomtom/ttoc_vim. Please let me know if it works for you.

Regards,
Tom

@tomtom tomtom closed this
@mentat-fr

Sorry, for the wrong place of this issue.
Thank you so much, it's work like a charm and you go over with the markdown pattern !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.