2048


Ⅰ. 插件描述

2048 game in vim

Ⅱ. 基本信息

创建日期:  2014-03-29
使用用户:  3
Github星:  11
插件作者:  Aaron Ash

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# 2048.vim

This is a shameless clone of the 2048 game http://gabrielecirulli.github.io/2048/ except implemented in vimscript.

Installation

You should be able to do the usual thing with vundle:

Bundle 'AshyIsMe/2048'

Usage

Start a new game with:

:NewGame2048

This will open a new tab and start a new game.

The controls are the classic h, j, k, l and also the cursor keys Up, Down, Left, Right.

Screenshot

screenshot

添加新评论