Ⅰ. 插件描述
Play 2048 in your VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'amix/vim-2048'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'amix/vim-2048'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'amix/vim-2048'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/amix/vim-2048
Ⅳ. 文档说明
Play 2048 in your Vim :)
You need to install term2048 and your Vim has to support Python.
$ pip install term2048
Installing vim-2048 is also easy if you use something like vim-pathogen:
cd ~/.vim/bundle
git clone git://github.com/amix/vim-2048
Afer this is done simply call Play2048 to play (from command mode):
:Play2048
Enjoy!!
Here's a screenshot of how it looks like: