trouble.nvim
trouble.nvim copied to clipboard
Pressing q takes you to first split rather than last active split
Pressing q exits the trouble window and takes you back, but if you have multiple windows open then correct behaviour should be to take the user back to the window where they came from. If it's still available.
I also attempted fixing it on my end, its a small change and seems like it works, I've not yet tried all scenarios. But if you're interested I can send a pull request.
yeah, i had reported a similar issue before #189
maybe it can be fixed by doing api.nvim_exec('wincmd p')
before view:close()
is called
This is the solution I implemented.
If I understood the problem correctly this is a duplicate of #59.
Yes @okuuva
Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev