Play the Minesweeper directly inside your Neovim in a beautiful floating window. This is a Neovim wrapper for the minesweeper-tui engine.
- Floating Window: Seamlessly integrated into your Neovim workflow.
- Vim-friendly: Full
h/j/k/lnavigation support. - Themeable: Supports various themes like Catppuccin, Gruvbox, Nord, and more.
- Auto-install: Powered by
npx, so you can start playing immediately without manual binary management.
- Neovim: v0.9.0 or higher.
- Node.js: v20.0.0 or higher.
Using lazy.nvim:
return {
"Pansther/minesweeper.nvim",
cmd = "Minesweeper",
keys = {
{ "<leader>ms", "<cmd>Minesweeper<cr>", desc = "Play Minesweeper" },
},
config = function()
require("minesweeper").setup()
end,
}Simply run the following command or use your defined keymap, more details at minesweeper-tui
:MinesweeperThis project is licensed under the MIT License - see the LICENSE file for details.
