rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3k stars 80 forks source link

Can I set focusable=false to nvim-notify window? #119

Closed kawarimidoll closed 2 years ago

kawarimidoll commented 2 years ago

I often use CTRL-W_CTRL-W to change windows. This sometimes focuses to nvim-notify window, but I don't want do so... I think this will be fixed by setting focusable=false to the window.

Thank you for your nice plugin!

rcarriga commented 2 years ago

You can add an on_open wrapper

  require("notify").setup({
    on_open = function (win)
      vim.api.nvim_win_set_config(win, { focusable = false })
    end,
  })
kawarimidoll commented 2 years ago

Thank you quick response, it works well 🥰