Fork me on GitHub
#conjure
<
2022-12-24
>
Martynas Maciulevičius14:12:07

I've set let g:conjure#log#jump_to_latest#enabled = v:true and I'd like the result buffer to always make the result scroll to the top of the log buffer. Is this possible? i.e. if I press <>ee and <>ll then I'd scroll to the first line of result. But I'd like to make it automatic. Is there an option for this (I've looked through the config page and I think there is none)?

Phillip Mates10:01:36

If I understood correctly, I believe this is the behavior I had in mind when I implemented this feature in https://github.com/Olical/conjure/pull/302 but I somehow didn't manage to get it to work properly. Oliver added g:conjure#log#jump_to_latest#cursor_scroll_position but setting it to top (which is the default) doesn't go to the top of the output in the log buffer for the last evaluation performed, it just scrolls to the top most position possible while still showing the last outputted line. For my usage this sort of drives me crazy and I keep meaning to sit down and revisit it, but haven't gotten to it :)