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/

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:
Next, activate the game:

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:
Type the following vim command:

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


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.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
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.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum