Select previous line #12

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

2 participants


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



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 Please let me know if it works for you.


@tomtom tomtom closed this Jan 13, 2012

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