Open aniketgm opened 1 year ago
Note for future me:
find_headings(file)
that shows the headings of any file<leader>zh
)C-h
) to the relevant pickers that will call find_headings(selected)
find_headings(file)
so we can yank and insert directly the link to the proper headingI use tagbar-markdown to get an overview of my Telekasten files (and navigate big md files):
"" Display tags ordered by scope in a window
Plug 'preservim/tagbar'
Plug 'lvht/tagbar-markdown'
You can see all the structure of the file, fold the levels and navigate easily in the tagbar or in the file, open a preview, and even choose to sort in alphabetical order :-)
Seems like a neat plugin! Thanks for pointing it out!
Tagbar is a nice plugin and I've used it before, for a python development project. However, I faced some issues, one of them being like:
and not just this I was getting some other issues as well. It was getting pretty hectic, since then I stopped using it. @Rom1deTroyes have you faced such issue ? Not sure if they solved it or not. Maybe I'll check it out again. Thanks.
Please confirm
Is your feature request related to a problem? Please describe.
Not related to a problem, but from the following discussion here
Describe the solution you'd like
It would be really nice to have a feature to view and jump to a heading either in the current file Or a different file (other than the current buffer) For the different file headings scenario, the following suggestion was discussed:
find_notes
to look for a file, instead of pressing enter on the file that is under selection/under the cursor, one can press some other key that opens the headings of that file that will directly take us to that heading in that file. This scenario is mentioned in more detail in @lambtho12 reply to my question. https://github.com/renerocksai/telekasten.nvim/discussions/210#discussioncomment-4833943Another suggestion is to show headings of all notes in one view and then select and jump to it.
Describe alternatives you've considered
find_notes
and once opened, then go to the heading manually using -- ctrl+d / ctrl+u / h / j / k / l. For long notes this will be hectic and tiring.Additional context Add any other context or screenshots about the feature request here.