folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.62k stars 177 forks source link

feature: Auto close on jump #550

Closed Dooez closed 4 months ago

Dooez commented 4 months ago

Did you check the docs?

Is your feature request related to a problem? Please describe.

I'm always frustrated when i need to move cursor to close Trouble after jumping e.g. when browsing lsp references.

Describe the solution you'd like

An option to close trouble window after jump.

Describe alternatives you've considered

Auto-close does not work for references, because the cursor is placed directly on the item, and the list is not empty.

Additional context

No response

folke commented 4 months ago

Check the docs. keys section