2

I am trying to use lsp-ui package to display some documentation for Rust. When I put the cursor on a type for example, a popup child frame is created but the focus is still on the main window. If I use the mouse to click inside the child frame, I can then scroll with the keyboard but I would like to use the keyboard to change focus inside the child frame and NOT the mouse. Is there any way to do this?enter image description here

1 Answer 1

2

Bind a key (or keys) to run the lsp-ui-doc-focus-frame command:

(use-package lsp-ui
  :bind (("C-h ." . lsp-ui-doc-focus-frame)))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.