vim / killersheep
- воскресенье, 15 декабря 2019 г. в 00:30:36
Vim script
Silly game for Vim 8.2
Silly game to show off the new features of Vim 8.2:
Use your favorite plugin manager.
For example, using vim-plug:
Plug 'vim/killersheep'Or download the files using the zip archive, and unpack them in your
pack directory ~/.vim/pack/mine/opt/killersheep/.
Then load the pack manually with:
packadd killersheepOr put this in your vimrc:
packadd! killersheepFirst of all: make sure you can hear the sound (or put on your headphones if you don't want your friends/colleagues to find out what you are doing).
:KillKillKillOr, if you don't have conflicting commands, just:
:KillIn the game:
| Key | Description |
|---|---|
| l | move cannon right |
| h | move cannon left |
| Space | fire cannon |
| Esc | exit game |