Block-breaking game in vim 8.0
Vim script
Clone or download
John Grib
Latest commit fe5d19b Jul 27, 2017
Failed to load latest commit information.
autoload/VimGameCodeBreak add item_limit (#20) Jul 27, 2017
plugin Add ':scriptencoding utf-8' Jul 4, 2017
.gitignore add gitignore Jun 13, 2017
LICENSE Initial commit Jun 13, 2017 add item_limit (#20) Jul 27, 2017


animated demonstration

How to play

  1. open your code or text file in Vim
  2. :VimGameCodeBreak to Start
h l space ` ] [ q Q
new ball cheat key GOD mode human mode end game quit & close game


If you want to play with more than three balls, you can modify the following:

" .vimrc
let g:vim_game_code_break_item_limit = 4    " default value is 2

WARNING: Too many balls can slow down the game or cause bugs. I recommend the default value : 2 If the game speed is too slow, try :syntax off before starting the game.



Place this in your .vimrc:

Plug 'johngrib/vim-game-code-break'

Then run the following in Vim:

:source %