Select previous line #12

Closed
mentat-fr opened this Issue Jan 13, 2012 · 2 comments

Projects

None yet

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
tomtom commented Jan 13, 2012

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 Jan 13, 2012
@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