trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

How to move cursor back to diagnostic window? (Question)

Open winkee01 opened this issue 2 years ago • 3 comments

Sorry, I am new to this plugin, it looks so appealing but I have a small question.

So I type :Trouble [mode] to enter the diagnostic window, moving the cursor up and down to review the error/warning info, after I press Enter key, the cursor jumps to the source code window.

My question is: after I fix the error, how can I take the cursor back to the diagnostic window?

Thanks in advance

winkee01 avatar Apr 10 '22 10:04 winkee01

p is what you are looking for

AstroShen avatar Apr 29 '22 03:04 AstroShen

@AstroShen but p is paste in the source code window

winkee01 avatar Apr 30 '22 12:04 winkee01

try <c-w>j or :Trouble

haolian9 avatar Jun 10 '22 04:06 haolian9

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

folke avatar Mar 29 '24 07:03 folke