Skip to content

Commit

Permalink
Merge pull request #25 from Gabirel/hidden_egg_hunt
Browse files Browse the repository at this point in the history
close #24
  • Loading branch information
Gabirel authored May 10, 2017
2 parents 6e04177 + 46549b5 commit 250ffff
Show file tree
Hide file tree
Showing 6 changed files with 136 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ Table of Contents
* [Exuberant ctags not found][exuberant-ctags-not-found-windows]
* [Linux][faq-linux]
* [Exuberant ctags not found][exuberant-ctags-not-found-linux]
4. [Hidden Egg Hunt][hidden-egg-hunt]
* [Play games on SpaceVim][play-games-on-spacevim]
* [Game Lists][game-lists]
* [Vim2048][vim2048]
* [Instruction][vim2048-instruction]

---------------------------

Expand Down Expand Up @@ -111,3 +116,9 @@ New to Vim: [vim-galore][]
[exuberant-ctags-not-found-windows]: en_US/FAQ.md#exuberant-ctags-not-found
[faq-linux]: en_US/FAQ.md#linux
[exuberant-ctags-not-found-linux]: en_US/FAQ.md#exuberant-ctags-not-found-1

[hidden-egg-hunt]: en_US/hidden_Egg_Hunt
[play-games-on-spacevim]: en_US/hidden_Egg_Hunt/play-games.md#play-games-on-spacevim
[game-lists]: en_US/hidden_Egg_Hunt/play-games.md#game-lists
[vim2048]: en_US/hidden_Egg_Hunt/play-games.md#vim2048
[vim2048-instruction]: en_US/hidden_Egg_Hunt/play-games.md#instruction
11 changes: 11 additions & 0 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ Table of Contents
* [Exuberant ctags未找到][exuberant-ctags-not-found-windows]
* [Linux][faq-linux]
* [Exuberant ctags未找到][exuberant-ctags-not-found-linux]
4. [寻觅彩蛋][hidden-egg-hunt]
* [在SpaceVim上玩游戏][play-games-on-spacevim]
* [游戏列表][game-lists]
* [Vim2048][vim2048]
* [安装][vim2048-instruction]

[1]: zh_CN/installation/installation-for-windows.md#在windows上安装spacevim
[1-1]: zh_CN/installation/installation-for-windows.md#%E5%9C%A8windows%E4%B8%8A%E5%AE%89%E8%A3%85spacevim
Expand Down Expand Up @@ -104,3 +109,9 @@ Table of Contents
[spacevim]: https://github.com/spacevim/spacevim
[Hack-SpaceVim:issue-tracker]: https://github.com/Gabirel/Hack-SpaceVim/issues
[SpaceVim:issue-tracker]: https://github.com/spacevim/spacevim/issues

[hidden-egg-hunt]: zh_CN/hidden_Egg_Hunt
[play-games-on-spacevim]: zh_CN/hidden_Egg_Hunt/play-games.md#在spacevim上玩游戏
[game-lists]: zh_CN/hidden_Egg_Hunt/play-games.md#游戏列表
[vim2048]: zh_CN/hidden_Egg_Hunt/play-games.md#vim2048
[vim2048-instruction]: zh_CN/hidden_Egg_Hunt/play-games.md#安装
13 changes: 13 additions & 0 deletions en_US/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ Table of Contents
* [Exuberant ctags not found][exuberant-ctags-not-found-windows]
* [Linux][faq-linux]
* [Exuberant ctags not found][exuberant-ctags-not-found-linux]
4. [Hidden Egg Hunt][hidden-egg-hunt]
* [Play games on SpaceVim][play-games-on-spacevim]
* [Game Lists][game-lists]
* [Vim2048][vim2048]
* [Instruction][vim2048-instruction]


[1]: installation/installation-for-windows.md
[1-1]: installation/installation-for-windows.md#install-spacevim-on-windows
Expand Down Expand Up @@ -72,6 +78,7 @@ Table of Contents
[2-1-2-2]: installation/installation-for-linux.md#install-offline
[2-1-2-2-1]: installation/installation-for-linux.md#check-prerequisites-1
[2-1-2-2-2]: installation/installation-for-linux.md#start-to-install-2

[faq]: FAQ.md#faq
[faq-windows]: FAQ.md#windows
[set-up-your-path]: FAQ.md#set-up-your-path
Expand All @@ -82,3 +89,9 @@ Table of Contents
[exuberant-ctags-not-found-windows]: FAQ.md#exuberant-ctags-not-found
[faq-linux]: FAQ.md#linux
[exuberant-ctags-not-found-linux]: FAQ.md#exuberant-ctags-not-found-1

[hidden-egg-hunt]: hidden_Egg_Hunt
[play-games-on-spacevim]: hidden_Egg_Hunt/play-games.md#play-games-on-spacevim
[game-lists]: hidden_Egg_Hunt/play-games.md#game-lists
[vim2048]: hidden_Egg_Hunt/play-games.md#vim2048
[vim2048-instruction]: hidden_Egg_Hunt/play-games.md#instruction
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
11 changes: 11 additions & 0 deletions zh_CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ Table of Contents
* [Exuberant ctags未找到][exuberant-ctags-not-found-windows]
* [Linux][faq-linux]
* [Exuberant ctags未找到][exuberant-ctags-not-found-linux]
4. [寻觅彩蛋][hidden-egg-hunt]
* [在SpaceVim上玩游戏][play-games-on-spacevim]
* [游戏列表][game-lists]
* [Vim2048][vim2048]
* [安装][vim2048-instruction]

[1]: installation/installation-for-windows.md
[1-1]: installation/installation-for-windows.md#在windows上安装spacevim
Expand Down Expand Up @@ -73,3 +78,9 @@ Table of Contents
[exuberant-ctags-not-found-windows]: FAQ.md#exuberant-ctags未找到
[faq-linux]: FAQ.md#linux
[exuberant-ctags-not-found-linux]: FAQ.md#exuberant-ctags未找到-1

[hidden-egg-hunt]: hidden_Egg_Hunt
[play-games-on-spacevim]: hidden_Egg_Hunt/play-games.md#在spacevim上玩游戏
[game-lists]: hidden_Egg_Hunt/play-games.md#游戏列表
[vim2048]: hidden_Egg_Hunt/play-games.md#vim2048
[vim2048-instruction]: hidden_Egg_Hunt/play-games.md#安装
45 changes: 45 additions & 0 deletions zh_CN/hidden_Egg_Hunt/play-games.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 在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 250ffff

Please sign in to comment.