I've been advised to use SublimeText and I'm giving it a try. When I take notes in a text file, I would like to structure it with a few levels of headers (in LaTeX, that would be sections and subsections). The display should emphasize the headers, there should be a keyboard shortcut to transform a line into a header, and I'd like a shortcut to display a table of contents, such that pressing eg enter on a header jumps to that part of the file.
I used a LaTeX mode for this, but I'm ready to switch to another lightweight format if needed, like markdown or html. I've looked for LaTeX plugins like LaTeXing but they don't seem to fulfill my wishes. Cde folding is nice, but I'd prefer to avoid having to indent the whole file python-style (it's fine in python, but I don't want it for all languages).
This question is related to Is there a Outline (or OPML) plugin for Sublime Text 2? but its posts do not answer my question.
There has been a proposal here, but no follow-up: https://sublimetext.userecho.com/topic/83757-an-outline-pane/