Skip to content

johngrib/vim-game-code-break

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

VimGameCodeBreak

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

Setting

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.

Installation

VimPlug

Place this in your .vimrc:

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

Then run the following in Vim:

:source %

:PlugInstall