killersheep – Silly game for Vim version 8.2

Vim is my favorite text editor and version 8.2 released. The new version includes support for popup windows and text properties. Popup windows can be used for many purposes. For example, a list of choices can be displayed, where the user selects an entry with keys or with the mouse. There is also a new vim game released named as killersheep to show you new capabilities of Vim. Let us see how to install and play killersheep.

Indeed, you need vim version 8.2 to play this game. Otherwise, you will see an error that read as, “This build of Vim is too old, you need at least 8.1.170.”


killersheep – Silly game for Vim version 8.2

killersheep is a silly game of vim to show off the new features of Vim version 8.2 such as:

  1. Popup windows with colors and mask
  2. Text properties to highlight text
  3. Sound

killersheep – Silly game requirements

  1. Vim version 8.2 (use pacman command/apt command/yum command/zypper command/brew command/dnf command to update vim)
  2. Feature +textprop
  3. Sound support i.e. feature +sound or command “afplay”, “paplay” or “cvlc”.
  4. Terminal with at least 45 lines height

I tested it with vim version 8.1.2268. You can find out the vim version and featured by typing the following command:
$ vim --version

How to install killersheep silly game

It would be best if you used vim plugin manager. I am using vim-plug which is a beautiful and minimalist vim plugin manager for Linux/Unix users. You can use a vundle or pathogen plugin too. If vim-plug not installed, try:
$ mkdir -p ~/.vim/autoload/
$ cd ~/.vim/autoload/
$ wget

Updated your ~/.vimrc as follows:
$ vim ~/.vimrc
Append the following to install killersheep:

call plug#begin('~/.vim/plugged')
" Install vim game 
Plug 'vim/killersheep'
call plug#end()

Save and close the file in vim. Start vim, run:
$ vim
Next, activate the game:
How to install silly game for Vim 8.2
Another option is to 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 the following command from ~/.vimrc
packadd! killersheep

How to play killersheep vim game

Start vim:
$ vim
Type the following vim command:
Welcome to killersheep vim game

Game kyes

One can play the game using the following keys in vim:

  • s : start game
  • l : move cannon right
  • h : move cannon left
  • Space : fire cannon
  • Esc : exit game
killersheep - Silly game for vim version 8.2


I liked the Killersheep vim game. It shows popup windows, text properties, and sound features added in the newer release. For more info, see this page here and here. Of course, you can learn more about vim using the vim command:
$ man vim

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

1 comment… add one
  • tristan Jul 15, 2020 @ 12:00

    Funny game but we need the latest version of vim. No problem on my Arch Linux but CentOS 7 is a pita.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.