vim-game-code-break


Ⅰ. 插件描述

Block-breaking game in vim 8.0

Ⅱ. 基本信息

创建日期:  2017-06-12
使用用户:  0
Github星:  1512
插件作者:  JohngRib Lee

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'johngrib/vim-game-code-break'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'johngrib/vim-game-code-break'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'johngrib/vim-game-code-break'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/johngrib/vim-game-code-break

Ⅳ. 文档说明

# VimGameCodeBreak

animated demonstration

How to play

  1. open your code or text file in Vim
  2. :VimGameCodeBreak to Start
hlspace`][qQ
←→new ballcheat keyGOD modehuman modeend gamequit & 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

添加新评论