A small Neovim plugin that shows a centered reminder popup (floating window).
Designed to be simple, lightweight, and optionally “attention-grabbing”.
{
"aelisonCode/modal_reminder.nvim",
opts = {
title = "REMINDER",
message = "Hey, time to take a break!",
keymaps = {
enabled = true,
launch = "<leader>tw", -- Default mapping
},
},
config = function(_, opts)
require("window_reminder").setup(opts)
end,
}Show the popup:
require("window_reminder").show("Custom message")Or use the default configured message:
require("window_reminder").show()title(string) : window title text (default:"REMINDER")message(string) : default message textfooter(string)min_width(number)padding(number)border(string) :"rounded","single", etc.disable_mouse(boolean) : setsmouse=while the popup is openkeymaps.enabled(boolean)keymaps.launch(string) : key to open the reminder window