MunifTanjim / nui.nvim

UI Component Library for Neovim.
MIT License
1.62k stars 57 forks source link

How to move cursor from a layout box to another? #340

Closed moqsien closed 7 months ago

moqsien commented 8 months ago

Is there any way to set a keymap for changing focus on one layout box from anthor?

MunifTanjim commented 7 months ago

You'll need to use vim.api.nvim_set_current_win to do that. You'll find the window id from the .winid property of the popup instance.