Skip to content

Commit

Permalink
Close #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabirel committed May 10, 2017
1 parent 6e04177 commit f169d32
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 0 deletions.
45 changes: 45 additions & 0 deletions en_US/hidden_Egg_Hunt/play-games.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Play games on SpaceVim

## Table of Contents

* [Play games on SpaceVim](#play-games-on-spacevim)
* [Game Lists](#game-lists)
* [Vim2048](#vim2048)
* [Instruction](#instruction)


## Game Lists

* vim2048

## Vim2048

## Instruction

1. Add config below into your `~/.SpaceVim.d/init.vim`:

```viml
call SpaceVim#layers#load('games')
```

2. Open your vim/neovim, and then you should see this:

![vim2048-install][vim2048-install-ui]

3. Restart vim, and Press `<Space> g 2`:

![vim2048-space][vim2048-space]

![vim2048-space-g][vim2048-space-g]

4. DONE!

![vim2048-finish][vim2048-done]

Reference: [#24][issue-24]

[vim2048-install-ui]: https://cloud.githubusercontent.com/assets/12933851/25666818/33f2b91c-3054-11e7-89e4-2ffdcb6efb35.png
[vim2048-space]: https://cloud.githubusercontent.com/assets/12933851/25666850/51a9faa6-3054-11e7-9807-172841f3721b.png
[vim2048-space-g]: https://cloud.githubusercontent.com/assets/12933851/25666978/a75640d6-3054-11e7-9bc1-97e234460074.png
[vim2048-done]: https://cloud.githubusercontent.com/assets/12933851/25666993/b10681cc-3054-11e7-9872-b0889f7caa6f.png
[issue-24]: https://github.com/Gabirel/Hack-SpaceVim/issues/24
46 changes: 46 additions & 0 deletions zh_CN/hidden_Egg_Hunt/play-games.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 在SpaceVim上玩游戏

## Table of Contents

* [在SpaceVim上玩游戏](#在spacevim上玩游戏)
* [游戏列表](#游戏列表)
* [Vim2048](#vim2048)
* [安装](#安装)


## 游戏列表

* vim2048

## Vim2048

## 安装

1. 把以下配置加入到:`~/.SpaceVim.d/init.vim`

```viml
call SpaceVim#layers#load('games')
```

2. 打开你的vim/neovim,然后你应该会看到这个:

![vim2048-install][vim2048-install-ui]

3. 重启vim,然后按下`<Space> g 2`:

![vim2048-space][vim2048-space]

![vim2048-space-g][vim2048-space-g]

4. 完成!

![vim2048-finish][vim2048-done]

参考: [#24][issue-24]


[vim2048-install-ui]: https://cloud.githubusercontent.com/assets/12933851/25666818/33f2b91c-3054-11e7-89e4-2ffdcb6efb35.png
[vim2048-space]: https://cloud.githubusercontent.com/assets/12933851/25666850/51a9faa6-3054-11e7-9807-172841f3721b.png
[vim2048-space-g]: https://cloud.githubusercontent.com/assets/12933851/25666978/a75640d6-3054-11e7-9bc1-97e234460074.png
[vim2048-done]: https://cloud.githubusercontent.com/assets/12933851/25666993/b10681cc-3054-11e7-9872-b0889f7caa6f.png
[issue-24]: https://github.com/Gabirel/Hack-SpaceVim/issues/24

0 comments on commit f169d32

Please sign in to comment.