Home

Awesome

vim-mine-sweeping

mine sweeping game in vim and neovim

ScreenShot

screenshot

<img src="https://user-images.githubusercontent.com/13008913/111631101-fe858080-882d-11eb-9484-baa544087f20.png" width = "45%" /> <img src="https://user-images.githubusercontent.com/13008913/111631149-09401580-882e-11eb-8a99-4fde0197c892.png" width = "45%" />

Installation

" vim-plug
Plug 'iqxd/vim-mine-sweeping'
-- packer
use 'iqxd/vim-mine-sweeping'

Usage

Options

Command :MineSweep can be called with following arugments:

:MineSweep easy | medium | hard | row col -e | -n | -v | -t

The default :MineSweep are equal to command with arguments like:

:MineSweep 12 20 -v

which create game with 12 x 20 board in a new vsplit window

You can also map the command in vimrc like below

nnoremap <F12> :MineSweep medium -t<cr>

Enjoy! :)