{"id":13595849,"url":"https://github.com/iqxd/vim-mine-sweeping","last_synced_at":"2025-04-09T13:33:40.719Z","repository":{"id":186321717,"uuid":"347110552","full_name":"iqxd/vim-mine-sweeping","owner":"iqxd","description":"mine sweeping game in vim and neovim","archived":false,"fork":false,"pushed_at":"2022-03-31T14:13:45.000Z","size":61,"stargazers_count":41,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-06T18:45:59.553Z","etag":null,"topics":["game","mine","neovim","sweeping","vim","vimscript"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iqxd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-12T15:24:47.000Z","updated_at":"2024-07-01T06:10:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"be0b76b3-3f95-45b8-91f8-92a13b7b8ffb","html_url":"https://github.com/iqxd/vim-mine-sweeping","commit_stats":null,"previous_names":["iqxd/vim-mine-sweeping"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqxd%2Fvim-mine-sweeping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqxd%2Fvim-mine-sweeping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqxd%2Fvim-mine-sweeping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqxd%2Fvim-mine-sweeping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iqxd","download_url":"https://codeload.github.com/iqxd/vim-mine-sweeping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049724,"owners_count":21039267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","mine","neovim","sweeping","vim","vimscript"],"created_at":"2024-08-01T16:01:59.157Z","updated_at":"2025-04-09T13:33:40.418Z","avatar_url":"https://github.com/iqxd.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# vim-mine-sweeping\nmine sweeping game in vim and neovim\n\n## ScreenShot\n![screenshot](https://user-images.githubusercontent.com/13008913/111640012-bcad0800-8836-11eb-85c3-bf20af90c1ba.png)\n-\n\u003cimg src=\"https://user-images.githubusercontent.com/13008913/111631101-fe858080-882d-11eb-9484-baa544087f20.png\" width = \"45%\" /\u003e     \u003cimg src=\"https://user-images.githubusercontent.com/13008913/111631149-09401580-882e-11eb-8a99-4fde0197c892.png\" width = \"45%\" /\u003e\n\n\n## Installation\n```vimscript\n\" vim-plug\nPlug 'iqxd/vim-mine-sweeping'\n```\n```lua\n-- packer\nuse 'iqxd/vim-mine-sweeping'\n```\n\n## Usage\n* Launch `Vim Mine Sweeping` with command `:MineSweep`\n* Press \u003ckbd\u003eh\u003c/kbd\u003e, \u003ckbd\u003ej\u003c/kbd\u003e, \u003ckbd\u003ek\u003c/kbd\u003e, \u003ckbd\u003el\u003c/kbd\u003e or `arrow key` to move between cells\n* Press \u003ckbd\u003ec\u003c/kbd\u003e or `double left-click mouse` to reveal a cell, \n* Press \u003ckbd\u003ef\u003c/kbd\u003e or `right-click mouse` to toggle flag on a cell\n* Press \u003ckbd\u003en\u003c/kbd\u003e \u003ckbd\u003eg\u003c/kbd\u003e to start a new game\n* Press \u003ckbd\u003ep\u003c/kbd\u003e \u003ckbd\u003eb\u003c/kbd\u003e to print all mines and numbers in board\n* Press \u003ckbd\u003e?\u003c/kbd\u003e to toggle help\n* Press \u003ckbd\u003eZ\u003c/kbd\u003e \u003ckbd\u003eZ\u003c/kbd\u003e to exit current game\n\n## Options\nCommand `:MineSweep` can be called with following arugments:\n\u003e `:MineSweep`  `easy | medium | hard | row col`  `-e | -n | -v | -t`\n* `easy`  9 x 9 board\n* `medium`  16 x 16 board\n* `hard`  24 x 24 board\n* `row col` user defined row x col board\n* `-e` create board in current window\n* `-n` create board in new split window\n* `-v` create board in new vsplit window\n* `-t` create board in new tabpage\n* `-f` create board in new floating window (neovim only)\n\nThe default `:MineSweep` are equal to command with arguments like:\n\u003e `:MineSweep` `12 20` `-v`\n\nwhich create game with 12 x 20 board in a new vsplit window\n\nYou can also map the command in vimrc like below\n```vimscript\nnnoremap \u003cF12\u003e :MineSweep medium -t\u003ccr\u003e\n```\n\n---\n**Enjoy!  :)**\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiqxd%2Fvim-mine-sweeping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiqxd%2Fvim-mine-sweeping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiqxd%2Fvim-mine-sweeping/lists"}