feature: support preserving focus with on_result_diagnostics_quickfix #234
Labels
enhancement
New feature or request
good first issue
Good for newcomers
P2
Not a priority. PRs welcome
Using
on_result_diagnostics_quickfix
withopen
set totrue
causes the quickfix list to open and take focus, which can be distracting. I'd like to be able to configure Overseer to keep (or specifically, restore) the focus to the previous window once the quickfix list is opened. I don't see a way to do this currently, but digging around the source it looks like the desired behavior is obtainable simply by appending" | wincmd p"
to the command used to open the list.Plumbing this through properly (with an option such a
keep_focus
that defaults tofalse
to preserve existing behavior) doesn't seem that involved, so if this is a feature that seems acceptable I'd be happy to send a PR for it. If on the other hand there's a way to do this already that I've missed, please let me know.The text was updated successfully, but these errors were encountered: