All Projects → iqxd → vim-mine-sweeping

iqxd / vim-mine-sweeping

Licence: other
mine sweeping game in vim and neovim

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-mine-sweeping

MINE
Mutual Information Neural Estimator implemented in Tensorflow
Stars: ✭ 43 (+4.88%)
Mutual labels:  mine
ethos-auto-miner
Automatically switch miner to the most profitable algorithm for Ethos.
Stars: ✭ 14 (-65.85%)
Mutual labels:  mine
unfog.vim
⏱ Vim plugin for Unfog CLI task & time manager.
Stars: ✭ 61 (+48.78%)
Mutual labels:  vimscript
vim-twitter
Tweet from inside vim!
Stars: ✭ 26 (-36.59%)
Mutual labels:  vimscript
VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (-43.9%)
Mutual labels:  vimscript
nvim-toggle-terminal
NeoVim plugin that toggles a terminal buffer in the current window maintaining the same shell instance
Stars: ✭ 54 (+31.71%)
Mutual labels:  vimscript
vim-kata
A vimscript to help you improve your Vim muscle memory.
Stars: ✭ 45 (+9.76%)
Mutual labels:  vimscript
vim-node-inspect
Interactive node debugger for (n)vim
Stars: ✭ 96 (+134.15%)
Mutual labels:  vimscript
vim-rzip
Extends zip.vim to browse and write nested zip files
Stars: ✭ 22 (-46.34%)
Mutual labels:  vimscript
vim-SystemVerilog
SystemVerilog syntax highlight/indent support in vim
Stars: ✭ 37 (-9.76%)
Mutual labels:  vimscript
lua-vs-vimscript
A simple benchmark comparing Lua performance to Vimscript (because no one seems to care about these nowadays)
Stars: ✭ 32 (-21.95%)
Mutual labels:  vimscript
language-viml
Vim script syntax highlighting for Atom and GitHub.
Stars: ✭ 19 (-53.66%)
Mutual labels:  vimscript

vim-mine-sweeping

mine sweeping game in vim and neovim

ScreenShot

screenshot

Installation

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

Usage

  • Launch Vim Mine Sweeping with command :MineSweep
  • Press h, j, k, l or arrow key to move between cells
  • Press c or double left-click mouse to reveal a cell,
  • Press f or right-click mouse to toggle flag on a cell
  • Press n g to start a new game
  • Press p b to print all mines and numbers in board
  • Press ? to toggle help
  • Press Z Z to exit current game

Options

Command :MineSweep can be called with following arugments:

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

  • easy 9 x 9 board
  • medium 16 x 16 board
  • hard 24 x 24 board
  • row col user defined row x col board
  • -e create board in current window
  • -n create board in new split window
  • -v create board in new vsplit window
  • -t create board in new tabpage
  • -f create board in new floating window (neovim only)

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! :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].