22

GitHub - vim/killersheep: Silly game for Vim 8.2

 4 years ago
source link: https://github.com/vim/killersheep
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Join GitHub today

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

Sign up

Branch: master Go to file

Code

README.md

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:

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 killersheep

Or put this in your vimrc:

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).

:KillKillKill

Or, if you don't have conflicting commands, just:

: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

About

Silly game for Vim 8.2

Resources

License

Releases

No releases published

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK