https://github.com/vim/killersheep
Silly game for Vim 8.2
https://github.com/vim/killersheep
Last synced: 12 months ago
JSON representation
Silly game for Vim 8.2
- Host: GitHub
- URL: https://github.com/vim/killersheep
- Owner: vim
- License: other
- Created: 2019-12-12T10:09:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T14:58:53.000Z (over 2 years ago)
- Last Synced: 2025-03-29T13:11:41.064Z (about 1 year ago)
- Language: Vim Script
- Size: 854 KB
- Stars: 512
- Watchers: 13
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# killersheep
Silly game to show off the new features of Vim 8.2:
- Popup windows with colors and mask
- Text properties to highlight text
- Sound
Installation
------------
Use your favorite plugin manager.
For example, using [vim-plug](https://github.com/junegunn/vim-plug):
```vim
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:
```vim
packadd killersheep
```
Or put this in your vimrc:
```vim
packadd! killersheep
```
How to play
-----------
First 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).
```vim
:KillKillKill
```
Or, if you don't have conflicting commands, just:
```vim
:Kill
```
In the game:
| Key | Description |
| ------- | ----------------- |
| l | move cannon right |
| h | move cannon left |
| Space | fire cannon |
| Esc | exit game |
Requirements
------------
- Vim 8.2
- feature +textprop
- feature +sound or command "afplay", "paplay" or "cvlc".
- terminal with at least 45 lines