by Shark Labs


OS Ubuntu 18.04


PacVim is a game that will teach you how to use the vim text editor.

Software Included

PacVimLatestLGPL 3.0
Awesome SauceLatestOpen Source Sauce

Getting started after deploying PacVim

To play, ssh into your Droplet and then run:


You may specify the starting level and mode (n and h for normal/hard). Default mode is hard:

pacvim 8 n

How To Play

The objective of PacVim is very similar to PacMan.

You must run over all the characters on the screen while avoiding the ghosts (red G).

PacVim has two special obstacles:

  1. You cannot move into the walls (yellow color). You must use vim motions to jump over them.

  2. If you step on a tilde character (cyan ~), you lose!You are given three lives. You gain a life each time you beat

    level 0, 3, 6, 9, etc. There are 10 levels, 0 through 9. After

    beating the 9th level, the game is reset to the 0th level, but

    the ghosts move faster.Winning conditions: Use vim commands to move the cursor

over the letters and highlight them. After all letters are

highlighted, you win and proceed to the next level.

Losing conditions: If you touch a ghost (indicated

by a red G) or a tilde character, you lose a life. If you

have less than 0 lives, you lose the entire game.

List of Implemented Commands

key what it does
q quit the game
h move left
j move down
k move up
l move right
w move forward to next word beginning
W move forward to next WORD beginning
e move forward to next word ending
E move forward to next WORD ending
b move backward to next word beginning
B move backward to next WORD beginning
$ move to the end of the line
0 move to the beginning of the line
gg/1G move to the beginning of the first line
numberG move to the beginning of the line given by number
G move to the beginning of the last line
^ move to the first word at the current line
& 1337 cheatz (beat current level)

API Creation

In addition to creating a Droplet from the PacVim 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB PacVim Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.

  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"sharklabs-pacvim-18-04"}' \

Support Details

Supported By:Shark Labs
Support URL:

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material


DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn