I have a long document with meeting minutes, each meeting has a heading starting with an ISO date. I would like to navigate through that document using the headings index in the sidebar. Currently, when I click on a date in that index, bike does a “Focus In” on that heading. I would love to have the option to just scroll to that date, e.g. with a cmd-click or some other modifier.
As an alternative, I tried to get to that scrolled view by focussing out, but: when I set the cursor on the focussed heading line in the editor and choose “Focus Out”, then bike seems to “Go Back” to the view before with the cursor still at the right position – but usually outside of the displayed range. Only after an additional arrow key press, I end up where I wanna be.
Did I miss something here or is there really no easier way?
For this navigation any thoughts on how I should change focus/folds. So what I mean is you command click on a Index item. That’s the signal that you don’t want to focus it, instead you want to:
Focus parent and select it?
Focus root and select it?
Something else?
I think maybe focus parent and select it is least destructive. Because that means I won’t need to modify any of the editors folds (since focus parent automatically shows children) to ensure that the item is visible. At the same time if the item is already visible in editor then it might be nicer to just select it and not change focus at all…
FWIW, in an analogous pattern – moving a subtree window to view a clicked node of interest in an extension’s SVG diagram – I’m finding that a focus on the parent works well.