I would like to define my own rules for what a section of a document is, then use this so I can popup a list of sections I can auto-complete or use arrow keys to jump between them.
Take a simple example where sections match against
^SECTION\s(.*), how would this be possible?
Some Text SECTION Section One Some More text SECTION Section Two Other text.
How could I make a menu that pops up all sections, and activating the item navigates the cursor to the selected section?
Note that I'm not sure if this question is spesific to ivy.