-- A very small plugin to toggle value and expression -- a => To toggle return { "rmagatti/alternate-toggler", enabled = true, config = function() require("alternate-toggler").setup({ alternates = { { "true", "false" }, { "oui", "non" }, { "Oui", "Non" }, { "OUI", "NON" }, { ">=", "<=" }, { "==", "!=" }, { "public", "private", "protected" }, { "info", "warn", "error", "debug", "trace" }, { "left", "center", "right" }, }, }) vim.keymap.set("n", "a", ":ToggleAlternate", { desc = "Toggle value or expression" }) end, }