I'm struggling to explain what I want, and I do not even know if something like this is possible in vim.
In a large file, I would like a statusbar to show me:
- which function the cursor is currently in (this is the main one I want).
- if possible: what control structures I'm currently in (if/switch/etc).
file.php > my_function() > if > if > switch > while
Is this possible, and if so, how?