Closed riton closed 1 year ago
You can disable focusing on the window with the on_open
setup option
on_open = function(win)
vim.api.nvim_win_set_config(win, { focusable = false })
end,
This just works ! Thanks @rcarriga
Regards
I suggest this should be mentioned in README
and/or :h notify
.
Hi,
Question
I've just switched to lazyvim that bundles your plugin with this configuration.
I was previously used to rely on
CTRL-W_W
to move between windows.My problem is that it seems that the notification window is also a real vim window . Resulting in the
CTRL-W_W
shortcut often moving my cursor to the notification window instead of my other buffer window when a notification is displayed.I've tried to make a little video to illustrate that:
https://user-images.githubusercontent.com/553730/223159300-ec546d9e-5bab-49e3-8b3e-edfe56eb4e70.mp4
In the last seconds of the video, you should see that the vim cursor is in the notification window .
I'm kinda lost. Is there any workaround ? Should I use another shortcut to move between windows ?
Thanks in advance for your help !
Regards
Software versions
nvim-notify
at commit281e4d793c550c866bea3fb85d39de1f0188fb50