TeTrIs.vim


Ⅰ. 插件描述

A tetris game in pure vim

Ⅱ. 基本信息

创建日期:  2002-01-03
使用用户:  48
Github星:  25
插件作者:  Gergely Kontra

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/TeTrIs.vim

Ⅳ. 文档说明

A funny way to get used to VIM's h k l and <Space> key.
The first (I hope) interactive game inside pure VIM!
It's a work-in-progress version.

Todo:

  • better random
  • better timing
  • shorter code

If you like games, also see Sokoban vimscript#211!

添加新评论