-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |